#C6665. Filter Numbers Greater Than Threshold

    ID: 50450 Type: Default 1000ms 256MiB

Filter Numbers Greater Than Threshold

Filter Numbers Greater Than Threshold

Given an array of integers and a threshold value, your task is to output a list of all numbers that are strictly greater than the provided threshold.

You need to process the input from standard input (stdin) and output the resulting numbers to standard output (stdout). If no numbers are greater than the threshold, output an empty line.

The problem requires you to filter out elements from the array. This is a basic filtering task often encountered in programming contests.

inputFormat

The first line contains two space-separated integers: n (the number of elements in the array) and threshold. The second line contains n space-separated integers representing the array.

outputFormat

Print the numbers from the array that are greater than the threshold in the same order they appear, separated by a space.

If no such numbers exist, print an empty line.

## sample
5 4
1 5 8 3 7
5 8 7

</p>