#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i,n) for (int i=0;i<(n);i++)
#define REP2(i,m,n) for (int i=m;i<(n);i++)

namespace patch
{
    template < typename T > std::string to_string( const T& n )
    {
        std::ostringstream stm ;
        stm << n ;
        return stm.str() ;
    }
}

ll f(ll n) {
    return n / 5 + n / 3;
}

ll g(ll n) {
    return n / 5 + n / 3 - n / 15;
}

ll cnt(ll mid) {
    ll cnt = 0;
    for (ll k = 1; k <= mid; k *= 10) {
        ll keta = 0;
        for (ll kk = k; kk > 0; kk /= 10) keta++;
        ll cap = min(k * 10 - 1, mid);
        ll f1 = f(cap);
        ll f2 = f(k-1);
        ll g1 = g(cap);
        ll g2 = g(k-1);
        cnt += (f1 - f2) * 4 + ((cap - k + 1) - (g1 - g2)) * keta;
    }
    return cnt;
}
 
int main() {
    ll N;
    cin >> N;

    ll hi = 100000000000000000;
    ll lo = 0;

    while (hi - lo > 1) {
        ll mid = (hi + lo) / 2;
        if (cnt(mid) >= N) hi = mid;
        else lo = mid;
    }

    
    string ans;
    int amari = cnt(hi) - N;
    
    if (hi % 15 == 0) {
        ans = "FizzBuzz";
    } else if (hi % 5 == 0) {
        ans = "Buzz";
    } else if (hi % 3 == 0) {
        ans = "Fizz";
    } else {
        ans = patch::to_string(hi);
    }
    ans = ans.substr(ans.size() - amari - 1, amari + 1);

    while (ans.size() < 20) {
        hi += 1;
        if (hi % 15 == 0) {
            ans += "FizzBuzz";
        } else if (hi % 5 == 0) {
            ans += "Buzz";
        } else if (hi % 3 == 0) {
            ans += "Fizz";
        } else {
            ans += patch::to_string(hi);
        }
    }
    
    cout << ans.substr(0, 20) << endl;

    return 0;
}