Getting a list of inputs from user