Training Site
Sideways banner

Welcome to the NZIC

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). Every problem except this one is 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 nzic@nzoi.org.nz if you are having technical difficulties.



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

Input

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

Output

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

Note: This problem isn't worth any points, but you should still complete it to get a feel for the rest of the contest.

  • Sample Input 1

    NZIC
    

    Sample Output 1

    Greetings NZIC
    
  • Sample Input 2

    Everyone
    

    Sample Output 2

    Greetings Everyone