Could please someone give me a hand? My code is working but if the longest sequence is at the end when inputing the numbers, it does not work.