Two trains, each 40 m long are travelling in opposite direction with equal velocity $20 m/s$. The time of crossing is