Different ways of getting input from user