#C6375. Even Number Filter

    ID: 50128 Type: Default 1000ms 256MiB

Even Number Filter

Even Number Filter

Given a sequence of integers, your task is to filter out the odd numbers and return only the even integers.

An integer n is considered even if it satisfies the mathematical condition \( n \mod 2 = 0 \). The relative order of numbers should remain the same in the output.

For example, for the input 1 2 3 4 5, the correct output is 2 4.

inputFormat

The input is read from standard input (stdin) as a single line containing a sequence of space-separated integers.

outputFormat

The output should be printed to standard output (stdout) as a single line of space-separated even integers. If no even integers are present, print an empty line.

## sample
1 2 3 4 5
2 4