program to take input from the user