#C13207. Filter Numbers in a Specified Range
Filter Numbers in a Specified Range
Filter Numbers in a Specified Range
This problem requires you to process a list of integers and extract only those that satisfy the condition \(10 < x < 20\). You are given the number of integers and the list itself as input. Your task is to filter the list so that only the numbers strictly greater than 10 and strictly less than 20 remain. The order of the numbers should be preserved.
Example:
Input: 7 4 12 15 7 19 25 10</p>Output: 12 15 19
inputFormat
The input is given via standard input (stdin). The first line contains a single integer (n), which represents the number of integers. The second line contains (n) space-separated integers.
outputFormat
Output the filtered list of integers (those strictly greater than 10 and strictly less than 20) on a single line, separated by a single space. If there are no integers in the specified range, output an empty line.## sample
7
4 12 15 7 19 25 10
12 15 19
</p>