Problem Description

Read n integers. Write function only_even(arr) that returns list of even numbers in same order. Output them space-separated, if none output EMPTY.

Input Format

First line n. Second line n integers.

Output Format

Even numbers or EMPTY.

Sample Test Case

Input:
6 1 2 3 4 6 7
Output:
2 4 6

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next