works absolutely fine when checked manually. not able to get through the condition "Be sure the program displays the maximum of N number"