Dictionary#364

Dictionary

1 second
64 megabytes
Easy

In the gibberish language, there are symbols—the first Latin letters. Gibberish words use all these letters, each appearing exactly once in the word. The chief gibberish linguist has compiled a dictionary in which all possible words are listed in alphabetical order. Your task is to find the word corresponding to a given number.

Input

Given the number of letters (2 \leq N \leq 12) and the word's number (1 \leq k \leq N!).

Output

Print the gibberish word.

Examples

Example 1

Loading
Loading