Print array 4#8956

Print array 4

1 second
128 megabytes
Very easy

Given an array of integers. Print only its negative elements, reversing their order.

Input

The first line contains the integer n~(1 \le n \le 100). The second line contains integers, each with an absolute value not exceeding .

Output

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

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading