100 atcoder#ABC213B. [ABC213B] Booby Prize
[ABC213B] Booby Prize
Score : points
Problem Statement
players, who are numbered , have played a game. Player has scored , and a player with a smaller score ranks higher.
The player who ranks the second lowest will receive a booby prize. Who is this player? Answer with an integer representing the player.
Constraints
- are distinct.
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
6
1 123 12345 12 1234 123456
3
It is Player who ranks fifth among the six players.
5
3 1 4 15 9
5