← Problem book: Python Lesson 70 of 96 · 10 XP

Only positive

Theory and problem statement

Machine translation, not yet reviewed by a native speaker.

The first line contains the count of numbers n (1 ≤ n ≤ 100), the second — the n integers themselves, separated by spaces.

Print only the positive numbers in the same order, separated by spaces. If there are none, print NO.

Example

Input:

5
-1 2 0 3 -4

Output:

2 3

Sign up for free to solve this task right in your browser: code editor, running, test checks and hints.