Removing elements
Problem
Given an array of N elements (2<=N<=15). Remove all negative elements from it
Input:
At the input are given in the first line N - the number of array elements
The second line contains N numbers - the values of the array elements
Output:
Output the resulting array to a string
Example:
Input
5
43 -56 76 -84 100
Output
43 76 100