P8889 [HackerEarth] even from end 1
普及
题目描述

Problem Description

Given a list of integers, find and display all even numbers from the end of the list.

Input Format

Each line of input begins with an integer N indicating the number of integer n that follow which comprises a list.

Output Format

All even numbers from the end of the list, each separated by a single space. Separate output for each test case with the newline character. Otherwise, display the words None to display

Constraints

2 ≤ N ≤ 100

-1000 ≤ n ≤ 1000

SAMPLE INPUT
5 10 25 12 4 1
3 16 28 100

SAMPLE OUTPUT
4 12 10
100 28 16

输入格式

见题面

输出格式

见题面

样例输入
5 10 25 12 4 1 3 16 28 100 SAMPLE
样例输出
4 12 10 100 28 16