#1015 Medium Logic

Four people need to cross a rope bridge at night. They have one torch. The bridge holds only 2 people at a time. They must use the torch to cross. They take 1, 2, 5, and 10 minutes to cross. What is the minimum time needed for all four to cross?