ZYB likes to create puzzles for himself and then solve them. There areN NN distinct integers written in a line on the blackboard, and you decide to erase those numbers from the blackboard. Since you have just learned the concepts of median during the lecture, you invented the following erase-operation for three integers: wipe off the largest number and the smallest number from the blackboard, so that only the median of the three numbers remains. You decide to repeat the following process: choose three consecutive integers on the blackboard and apply erase-operationon them. After this operation, the number of integers on the blackboard will decrease by 2. Eventually, there will be only one integer left after this process is repeatedN12frac{N-1}{2}2N1 times. ZYB comes up with an interesting question: which integers may survive until the end?
ZYB likes to create puzzles for himself and then solve them. There are N N N ( N N N is odd) distinct integers written in a line on the blackboard, and you decide to erase those numbers from the blackboard. Since you have just learned the concepts of median during the lecture, you invented the following erase-operation for three integers: wipe off the largest number and the smallest number from the blackboard, so that only the median of the three numbers remains. You decide to repeat the following process: choose three consecutive integers on the blackboard and apply erase-operation on them. After this operation, the number of integers on the blackboard will decrease by 2. Eventually, there will be only one integer left after this process is repeated N−12frac{N-1}{2}2N−1 times. ZYB comes up with an interesting question: which integers may survive until the end?