Jim wants to cross a park. He walked for 20 minutes, then took a left turn and continued walking for 10 more minutes, and then took a left turn, walked for 5 more minutes, and exited the park. Find the time spent by him to cross the park (in minutes).