nMultiple

You are given an array of N positive integers. Find a non-empty subset of numbers from the given array with the property that the sum of all numbers in the subset is divisible by N.

Input

On the first line of the input there will be number N. On the next line there will be N integer numbers with the semnification above.

Output

The number of elements in the solution, M, followed on the second line by M space separated numbers, denoting the positions of the elements of the input array which form the solution.

The positions are one-based.

Constraints

  • 1 ≤ N4 * 105
  • 0 ≤ all elements in the array ≤ 109
  • If there are multiple solutions, output any of them.

Sample

InputOutput
10
10 9 8 4 3 2 5 7 6 1
2
3 6
Questions?

Sponsors Gold