#R1588. Many Medians
Many Medians
说明
- 2≤N≤200000
- Nis even.
- 1≤Xi≤109
- All values in input are integers.
输入格式
Input is given from Standard Input in the following format:输出格式
Print N lines. The i-th line should contain Bi.4
2 4 4 3
4
3
3
4
提示
- Since the median ofX2,X3,X4is4,B1=4.
- Since the median ofX1,X3,X4is3,B2=3.
- Since the median ofX1,X2,X4is3,B3=3.
- Since the median ofX1,X2,X3is4,B4=4.