Problem: You are given a set of pairwise different points with integer coordinates. Your task is to partition these points into two nonempty groups and , such that the following condition holds:
For every two points and , write the Euclidean distance between them on the blackboard: if they belong to the same group — with a yellow pen, and if they belong to different groups — with a blue pen. Then no yellow number is equal to any blue number.
It is guaranteed that such a partition exists for any possible input. If there exist multiple partitions, you are allowed to output any of them.
Input Format: The first line contains one integer — the number of points.
The -th of the next lines contains two integers and () — the coordinates of the -th point.
It is guaranteed that all points are pairwise different.
Output Format: In the first line, output () — the number of points in a group .
In the second line, output integers — the indexes of points that you include into group .
If there are multiple answers, print any.
Note: In the first example, we set point to group and points and to group . In this way, we will have yellow number and blue numbers on the blackboard.
In the second example, we set points and to group and points and to group . In this way, we will have yellow numbers , blue numbers on the blackboard.