#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
const ll MOD = 1000000007;

ll count(ll n){
    ll p = 1;
    ll d = 1;
    ll sd = 0;
    while(p * 10 <= n){
        ll np = p * 10 - 1;
        ll div3 = np / 3 - (p-1) / 3;
        ll div5 = np / 5 - (p-1) / 5;
        ll div15 = np / 15 - (p-1) / 15;
        sd += 9 * p * d + div3 * (4 - d) + div5 * (4 - d) + div15 * d;
        p *= 10;
        d++;
    }

    ll div3 = n / 3 - (p-1) / 3;
    ll div5 = n / 5 - (p-1) / 5;
    ll div15 = n / 15 - (p-1) / 15;
    sd += (n - p + 1) * d + div3 * (4 - d) + div5 * (4 - d) + div15 * d;
    return sd;
}

int main(){
    ll s;
    cin >> s;
    if(s == 1){
        cout << "12Fizz4BuzzFizz78Fiz" << endl;
    }else{
        ll l = 1, r = 1000000000000000000LL;
        while(r - l > 1){
            ll n = (l + r) / 2;
            if(count(n) < s){
                l = n;
            }else{
                r = n;
            }
        }

        stringstream ss;
        for(ll i=r;i<r+20;i++){
            if(i % 15 == 0){
                ss << "FizzBuzz";
            }else if(i % 3 == 0){
                ss << "Fizz";
            }else if(i % 5 == 0){
                ss << "Buzz";
            }else{
                ss << i;
            }
        }
        string str;
        ss >> str;
        cout << str.substr(s - count(l) - 1, 20) << endl;
    }
    return 0;
}