So the code worked but I don't understand why. There are two lines of input so how does the program know which line I'm referring to?