Two groups of people need to get across a lake. The first group has 36 people. Its boats can carry 5 passengers. The second group has 24 people. Its boats can carry only 4 passengers.