100 atcoder#ABC093B. [ABC093B] Small and Large Integers
[ABC093B] Small and Large Integers
Score : points
Problem Statement
Print all the integers that satisfies the following in ascending order:
- Among the integers between and (inclusive), it is either within the smallest integers or within the largest integers.
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print all the integers that satisfies the condition above in ascending order.
3 8 2
3
4
7
8
- is the first smallest integer among the integers between and .
- is the second smallest integer among the integers between and .
- is the second largest integer among the integers between and .
- is the first largest integer among the integers between and .
4 8 3
4
5
6
7
8
2 9 100
2
3
4
5
6
7
8
9