PHP Compiler Testing
Four Passengers and a Driver

A typical car can hold four passengers and one driver, allowing five people to travel around. Given n number of people, return how many cars are needed to seat everyone comfortably.

Examples

cars_needed(5) 1

 

cars_needed(11) 3

 

cars_needed(0) 0