#t275. 886
886
Lucky Number 886
Problem Background
Special for beginners, ^_^
Problem Description
In decimal, a number is called a lucky number if it consists only of the digits and . Sort all lucky numbers in increasing order: the first lucky number is , followed by
Given , output the -th lucky number.
Input Format
A single integer: .
Output Format
A single integer: the -th lucky number.
Sample Input
7
Sample Output
666
Constraints
1s, 1024KiB for each test case.
of the data:
of the data:
of the data: