Army of Mages#4340

Army of Mages

1 second
128 megabytes
Very easy

Everybody was silent. It became known that after the North battle all warriors of the great Coalition Army would stop defending their kingdom as battle mages and would serve as coaches. So it was the time to build a new powerful army. It was the wise Sandro who broke the silence and began to write down the names of the candidates. Finally, he wrote down names. But only best mages had to be chosen according to the law of the kingdom. After a long discussion it was decided to build an army in such a way that every two mages in this army would respect each other.

All mages in the kingdom live in their own houses, situated at the points on the plane with integer coordinates. Somewhy two mages respect each other if and only if a line segment connecting their houses contains at least one point with integer coordinates, different from endpoints of this segment. For example, if there are houses at points (, ) and (, ) then their inhabitants respect each other, because there is a point (, ) on this segment. In the same time, inhabitants of the houses situated in (, ) and (, ) don't respect each other. Help the government to build an army!

Input

The first line contains an integer (1 \le n \le 5000). The -th of the next lines contains a pair of integers and , not exceeding by their absolute values - coordinates of the house of the -th candidate. All houses are situated at different points.

Output

If the required army can be built, output "OK" in the first line and in the second line output space-separated numbers of the selected candidates in any order. If there are several possible answers, you can output any of them. If no army can be built, output "IMPOSSIBLE".

Examples

Example 1

Loading
Loading