In testing with the sequence 1,2,3,4,4,5,5,5,5,5 the displayed number was correct for the longest set of entered numbers - 5. but the program states that i should check that it returns correctly if the sequence of longest repeated numbers is located at the end of the list. So im a bit confused. Anyone able to offer any guidance please?