Constraints
In test data worth 30% of marks, you may assume
The data guarantee that there are no two identical lines.
Input Specification
The first line contains a single positive integer,
Each of the next
Output Specification
Output on a single line, in increasing order, the IDs of the lines which are visible. The list should be space-separated.
Sample Input
Copy
3
1 0
-1 0
0 0
Sample Output
Copy
1 2
Comments