Two trains started at $7$AM from the same point. The first train travelled north at a speed of $80$km/h and the second train travelled south at a speed of $100$ km/h. The time at which they were $540$ km apart is ________ AM.