Print array 5#810

Print array 5

1 second
128 megabytes
Very easy (≈850)

Array of n integers is given. Print all its even elements, reversing their original order.

Input

First line contains number n (1 ≤ n ≤ 100). Second line contains n integers, each no more than 100 by absolute value.

Output

In the first line print the number of even elements in array. In the second line print the even elements in the reverse order. If there are no even elements in the array, print "NO".

Examples

Example 1

Loading
Loading