Module: (Python) Conditional loop statement - WHILE


Problem

18 /21


Maximum among even numbers

Problem

The input of the program receives an unknown number of integers, the input ends with zero (zero is not included in the sequence). Find the maximum even number among all entered numbers. It is guaranteed that there is at least one even number in the sequence

Input
The input to the program is numbers, one number per line.

Imprint
Output the answer to the problem
 

 

Examples
# Input Output
1 1
2
6
0
6