Palindromes#5949

Palindromes

2 seconds
64 megabytes
Very hard

Determine the lexicographically smallest string made up of lowercase Latin letters, such that it contains exactly palindromic substrings.

Input

The input consists of a single integer (1 \le k \le 10^6).

Output

Print the desired string.

Examples

Example 1

Loading
Loading