Exercice simple looping solved