#include <bits/stdc++.h>
using namespace std;

typedef long long ll;

ll N;

int digit(ll x){
    int res = 0;
    while(x){
        x /= 10;
        res++;
    }
    return res;
}

//length of FizzBuzz String until x
ll f(ll x){
    if(x == 0) return 0;
    
    ll res = 0;
    
    int d = digit(x);
    ll t = 1;
    for(int i=0; i<d-1; i++)
        t *= 10;
    t--;
    
    res += (x-t - (x/5 + x/3 - x/15 - (t/5 + t/3 - t/15))) * d;
    res += (x/5 + x/3 - (t/5 + t/3)) * 4;
    res += f(t);
    
    return res;
}

string ltos(ll x){
    string res = "";
    while(x){
        res += '0' + x%10;
        x /= 10;
    }
    reverse(res.begin(), res.end());
    return res;
}

int main(){
    cin >> N;
    ll lb = 0, ub = 100000000000000000L;
    while(ub - lb > 1){
        ll mid = (lb + ub)/2;
        if(f(mid) >= N){
            ub = mid;
        }else{
            lb = mid;
        }
    }
    
    string s = "";
    for(ll i=ub; i<ub+25; i++){
        if(i%15 == 0){
           s += "FizzBuzz";
        }
        else if(i%3 == 0){
            s += "Fizz";
        }
        else if(i%5 == 0){
            s += "Buzz";
        }
        else{
            s += ltos(i);
        }
    }
    
    cout << s.substr(N-f(lb)-1, 20) << endl;
    
    return 0;
}