Given a natural number n and integers a1, a2, ..., an. Find number of the minimum odd number. If there are several numbers with a minimum odd value, then the number of the first of them must be found. It is guaranteed that there is at least one odd number
Input: in the first line enter the number N - the number of numbers in the sequence (0<N<100), and then N integers.
Output: print the answer to the problem
Examples
# |
Input |
Output |
1 |
7
4
-3
6
-3
-4
8
-2 |
2 |