Fixed input bug and Condition error.

Input data can correctly read in multiple numbers from the input data
file and assigned to the specified variable.