A list of integers is given. Print only its positive elements without changing their initial order. Use the vector data structure.
The first line contains the number (1 ≤ n ≤ 100). The second line contains integers, each not exceeding in absolute value.
Print the number of positive elements of the list on the first line. On the second line, print the positive numbers themselves separated by spaces. If there are no positive elements in the list, output NO.
Example 1
Example 2