The code works. It prints out the correct answer, but clearly I am not doing it the right way or I have an error somewhere. I am taking N from the keyboard and then loop N times. In this loop I set the highest nextN to int maximum. After loops are finished, I print out maximum. If N <= 0 I break the loop. So far the logic seems clear to me and I know I'm close, but can someone please help me finish this task correctly? Thank you in advance.