For the sample input:
1
2
88
42
99
You have to output this:
1
2
88
You are outputting this:
input not more than 10
numbers value '42' = stop
1.
2.
3.
4.
Stop command detected!
Numbers to output = 3
Your output
1
2
88
These are obviously not the same. You have to output exactly what is required, not all that extra text.