LearnPy Hub
← Arena
EasyRating 900

Odd One Out

All numbers in the list are equal except one. Print the position (from 1) of the different number.

Input

n (n ≥ 3), then n integers.

Output

One integer.

Sample 1

Input
4
11 13 11 11
Output
2

Sample 2

Input
5
1 4 4 4 4
Output
1
solution.py
Output appears here
Odd One Out · Python Arena problem · LearnPy Hub