atcoder#CF16EXHIBITIONFINALG. FESTIVAL

FESTIVAL

Score : 10001000 points

Problem Statement

Welcome to CODE FESTIVAL 2016! In order to celebrate this contest, find a string ss that satisfies the following conditions:

  • The length of ss is between 11 and 50005000, inclusive.
  • ss consists of uppercase letters.
  • ss contains exactly KK occurrences of the string "FESTIVAL" as a subsequence. In other words, there are exactly KK tuples of integers (i0,i1,...,i7)(i_0, i_1, ..., i_7) such that 0i0<i1<...<i7s10 \leq i_0 < i_1 < ... < i_7 \leq |s|-1 and s[i0]=F,s[i1]=E,...,s[i7]=Ls[i_0]='F', s[i_1]='E', ..., s[i_7]='L'.

It can be proved that under the given constraints, the solution always exists. In case there are multiple possible solutions, you can output any.

Constraints

  • 1K10181 \leq K \leq 10^{18}

Input

The input is given from Standard Input in the following format:

KK

Output

Print a string that satisfies the conditions.

7
FESSSSSSSTIVAL
256
FFEESSTTIIVVAALL