URI Online Judge | 2766

Input and Output Reading and Skipping Names

By Roberto A. Costa Jr, UNIFEI BR Brazil

Timelimit: 1

Your teacher would like to make a program with the following characteristics:

  1. Read 10 names, with no space;
  2. Print the third name from the list;
  3. Print the seventh name from the list;
  4. Print the ninth name from the list.

Input

The entry consists of several test files. Each test file has ten lines. Each line has a name of at most 30 characters and no space. As shown in the following input example.

Output

For each file in the entry, you have an output file. The output file has three lines according to procedures 2, 3, and 4. As shown in the following output example.

Input Samples Output Samples

USP

UFPE

UFCG

UFRN

UFRJ
IME

ITA

UNIOESTE

URI

UFG

UFCG

ITA

URI

UnB

UFMG

UNIFEI

UECE

UNICAMP

INATEL

UFRGS

UNIFESO

UFU

PUC

UNIFEI

UFRGS

UFU