The input call below retrieves input from the user. Wrap it in a call to print, then try running the program in the sandbox (To sandbox, then Run).
When the program runs, you will need to enter your favorite animal and then press Enter. Whatever value you enter will be printed as output.
This simple program demonstrates how data comes in via the user (e.g., typing into a console input box), is processed by the program, and then goes out back to the user (e.g., by printing in the console area).