Training Site
Sideways banner 8b44c02b768aa359c4d0a2bce3b247c6d7ab888f8b26852e9bfc3659c8c25612

Welcome to the NZIC 2021

Input: Standard Input (stdin)
Output: Standard Output (stdout)
Memory limit: 128 megabytes
Time limit: 1.0 seconds

Welcome to the New Zealand Informatics Competition (NZIC), a contest series run by volunteers from the New Zealand Olympiad in Informatics (NZOI).

We hope you enjoy these contests and take the opportunity to learn more about informatics. When you compete in the NZIC, there is a possibility you could be invited to join us for our January informatics camp. For those interested, more signup information for camp will be released after round 3.

You have three hours to complete as many problems as you can (including this one). Some problems are divided into subtasks which give you partial points. Even the hardest problems might have easy subtasks, so you should try to read every problem! If you get stuck on a question, we suggest moving onto the next one and coming back later. Questions are not always in order of difficulty, but we do our best.

Below is the first problem to get you started.

What to do

  1. Read the problem statement below and write a program to solve the problem.
  2. Test your program with the sample input (and maybe some input of your own).
  3. Submit your code file via the submit tab.
  4. See if you are correct.

If you get stuck

  1. See some examples for this problem. Click here for some example programs in various languages.
  2. Read the documents linked above.
  3. Consult the closest rubber duck.
  4. Email for assistance.

Write a program to greet the NZIC (and anybody else).


There will be a single line containing a name (consisting of at most 100 letters from the English alphabet and no spaces).


Print Greetings name where name is replaced by the given input. An example is shown below.

  • Sample Input 1


    Sample Output 1

    Greetings NZIC
  • Sample Input 2


    Sample Output 2

    Greetings Everyone