That's what I'm saying. For your input LOAD 19 I got the same result as you said here. So you should know what's the input is and what are outputs according to your requirements.
Sorry, don't really know how to rectify. To prevent the program from ending, I should use another loop? Really at wits' end.
No need to do any changes you mentioned. Because both are same, isn't it?
Opps, sorry again, basic concepts not very good.