Two gentlemen are taking their morning walks, beginning from opposite ends of a park. They meet 720 meters away from one of the ends, after which they continue walking. After reaching the end of the park, each turns back. On the way back, they meet at a distance of 400 meters from other end of the park. What is the length of the park? Their speeds are constant, but not identical.