Try placing the input command in its own line. Remember, if you want to use multiple instructions on the same line, you should separate each of them with ':' to prevent unintended program behavior.