At midnight, ship B was 90 km due south of ship A. Ship A sailed east at 15 km/hr and ship B sailed north at 20 km/hr. At what time were they closest together?