100 atcoder#ABC142C. [ABC142C] Go to School
[ABC142C] Go to School
Score : points
Problem Statement
Takahashi is a teacher responsible for a class of students.
The students are given distinct student numbers from to .
Today, all the students entered the classroom at different times.
According to Takahashi's record, there were students in the classroom when student number entered the classroom (including student number ).
From these records, reconstruct the order in which the students entered the classroom.
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the student numbers of the students in the order the students entered the classroom.
3
2 3 1
3 1 2
First, student number entered the classroom.
Then, student number entered the classroom.
Finally, student number entered the classroom.
5
1 2 3 4 5
1 2 3 4 5
8
8 2 7 3 4 5 6 1
8 2 4 5 6 7 3 1