Added line number to input prompt.
Parsing now should conform to required input as specified