[quote="TripleM"]That shows the input mixed in with the output. If you redirect your input from a file or output to a file or otherwise so you can actually see what's going on, you'll see that your output for the sample input is:
1288
[/quote]
I just noticed it
I feel stupid now 
editing thread
Thanks for the help! This is what I dislike about coding
small things can really mess up everything 