User input example code.