Олимпиадный тренинг

Задача 34793. Processing of entered numbers - 9


Задача

Темы: Цикл for
Given a sequence of integers. Find the maximum even number in it. There is at least one even number in the sequence

Input data: In the first line enter the number N - the number of numbers in the sequence, and then N integers, one per line.
Output: Output the answer to the problem

Examples
# Input Output
1 7
4
2
5
-1
-4
3
-2
4