import std.stdio, std.array, std.string, std.conv, std.algorithm;
import std.typecons, std.range, std.random, std.math, std.container;
import std.numeric, std.bigint, core.bitop, core.stdc.stdio;

void main() {
    auto K = readln.chomp.to!long;

    auto ans = new long[](601);
    foreach_reverse (i; 1..601) {
        ans[i] = K / i;
        K %= i;
    }

    auto strBuilder = appender!string;
    foreach (i; 1..601) {
        strBuilder.put("FESTIVA");
        foreach (_; 0..ans[i]) strBuilder.put("L");
    }

    strBuilder.data.writeln;
}
