Print array 5#8957

Print array 5

1 segundo
128 megabytes
Muy fácil

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

Entrada

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

Salida

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".

Ejemplos

Ejemplo 1

Loading
Loading