Problem: 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

Solution (in PYTHON):

Solution:
while True:    
    try:
        s = raw_input()
    except:        
        break
    if len(s.rstrip().lstrip())==0:        
        break
    ser = map(int, s.split())
    srr = ser[1:][::-1]
    found = False
    for x in srr:
        if x % 2 == 0:
            found = True
            print x,
    if not found:
        print "None to display"
    else:
        print

exit()