Added the code for probleme 34