Two bombs have been fired simultaneously from cannon A and B, which are similar and have a fixed barrel inclination of 45∘. The cannons are facing each other and have a horizontal separation of 400 m, bombs are fired towards each other at a speed of 20√2 m/s. Find the time when both shells collide in air.