Problem

5 /8


Removing elements

Problem

Given an array of N elements (\(2<=N<=15\)). Remove all negative elements from it.

Input
The first line contains the number N - the number of array elements. The second line contains N numbers - the values ​​of the array elements.

Imprint
Output the resulting array to a string.
 
Examples
# Input Output
1 5
43  -56  76  -84 100
43  76 100