Every time you ask for a new input you are over-writing the last one. You will need separate variables for each input.