convert user input