Uses user input and prints message