karan-and-even-numbers-1

Karan likes even numbers very much. He has a very long list of numbers. You just need to print the even numbers from the list. The list ends when -1 is encountered.

Input:
The list.

Output:
Print even numbers from the list, one per line.

Constraints:
-1 ≤ i ≤ 10^9

SAMPLE INPUT
1
4
-1

SAMPLE OUTPUT
4

Source: hackerearth | Difficulty: EASY
Tags: Complete search


Solutions: