Given $N$ integers and then a threshold $X$, print (in input order, space-separated) those integers strictly greater than $X$. If none qualify, print nothing.
Input
Line 1: $N$. Line 2: $N$ integers. Line 3: $X$. All in $[-10000, 10000]$.
Output
Print the integers greater than $X$, in input order.
Example 1
Input
5 10 25 7 30 15 15
Output
25 30
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.