#P343. 练59.1 第n大的数
练59.1 第n大的数
Description
Define a function to find the -th number in the sequence {, , , , , , , , , }, and use it to output the -th largest number.
Input Format
A single line containing an integer . If is invalid, re-enter the input.
Output Format
A single line containing an integer, representing the -th largest number in the sequence.
Sample
2
99
-1
2
99