#171. 列表范围整数过滤
列表范围整数过滤
Filter Integers in Range
Background
Dawei is organizing a list of numbers and wants to remove some specific numbers to meet his organizational needs.
Problem Description
Given a list of integers, return a new list of those numbers, omitting any that are between and inclusive.
Input Format
Input is given from Standard Input in the following format.
A single line containing several integers, separated by spaces. These integers represent the elements in the original list.
Output Format
Output is printed to Standard Output in the following format.
A single line containing the filtered integers, separated by commas and enclosed in square brackets
[]. If the filtered list is empty, output[].
Sample
[12 13 19 20]
[12, 20]
[1 14 1]
[1, 1]
[15]
[]
Sample Explanation
For the first sample [12 13 19 20], the numbers and are between and (inclusive), so they are removed. The final list is [12, 20].
Constraints
Time limit: second, Memory limit: KiB for each test case.