This class reads an integer from a keyboard and prints it out along with other messages.