Very easy

Execution time limit is 1 second

Runtime memory usage limit is 128 megabytes

Array of n integers is given. Print all its positive elements, do not change their initial order.

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

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

Input #1

Answer #1

Input #2

Answer #2