Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

EISTULIST - The list of students

 

For a list of n students, each student has the following information:
Student ID: integer, consisting of 10 digits
Name: includes letters
Age: integer
Sector code: integer

Given a list of n students, each student has the following information:

  • Student's ID: integer, consisting of 10 digits
  • Name: includes letters
  • Age: integer
  • Major code: integer

 

Please list the names in the order of increasing student's ids

Input

The first line is an integer n (n <= 10 ^ 6).

Each of the next N lines contains information about the student.

Output

Consists of n lines, one for each student.

Example

Input:
4
1831200311 Phuong 20 1541
1831210312 Vu 22 3666
1831210311 An 20 3666
1831200312 Tien 20 1541
Output:
1831200311 Phuong 20 1541
1831200312 Tien 20 1541
1831210311 An 20 3666
1831210312 Vu 22 3666

Added by:Ha Minh Ngoc
Date:2018-10-10
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:CSHARP C++ 4.3.2 CPP CPP14 CPP14-CLANG FSHARP GO JAVA JS-MONKEY NODEJS PHP PYTHON PYPY PYPY3 PYTHON3 RUBY SQLITE SWIFT VB.NET
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.