Two cities are 3950 miles apart. A plane leaves one of them, traveling towards the other at an average speed of 390 miles per hour. At the same time a plane leaves the other, traveling towards the first, at an average speed of 400miles per hour. How long will it take them to meet?