when I input : > 6 1 3 5 4 6 8 the right answer is to be: > 5 but the program outputs: >6(the value of len)