Eighteen friends are going to the beach. If each car holds 5 people, how many cars need to be driven to the beach in order for all of the friends to have a ride?