First position

Write a program that reads a sequence of natural numbers and prints the position of the first even number.

Input

Input consists of a sequence of natural numbers that contains, at least, one even number.

Output

Print the position of the first even number of the sequence.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T12:17:53.955Z

© Jutge.org, 2006–2026.
https://jutge.org