The rest of the input loop.