Question d’entretien chez Apple

Solve fizz buzz programming test.