#include<cstdio>
#include<string>
#include<cstring>

#define rep(i,n) for(int i=0;i<(n);i++)

using namespace std;

typedef long long ll;

ll f(ll n){
	ll T=1;
	int m=0;
	while(T<=n) T*=10, m++;

	ll res=0;
	while(m>0){
		ll a=n-T/10+1;
		ll a3=n/3-(T/10-1)/3;
		ll a5=n/5-(T/10-1)/5;
		ll a15=n/15-(T/10-1)/15;
		res+=(a-a3-a5+a15)*m;
		res+=(a3+a5)*4;

		T/=10;
		n=T-1;
		m--;
	}
	return res;
}

int main(){
	ll s; scanf("%lld",&s);

	ll lo=0,hi=1e17;
	while(lo<hi){
		ll mi=(lo+hi+1)/2;
		ll tmp=f(mi);
		if(tmp>=s){
			hi=mi-1;
		}
		else{
			lo=mi;
		}
	}

	string ans;
	for(ll i=lo+1;i<lo+20;i++){
		if(i%3==0 && i%5==0) ans+="FizzBuzz";
		else if(i%3==0) ans+="Fizz";
		else if(i%5==0) ans+="Buzz";
		else{
			char t[128]; sprintf(t,"%lld",i);
			ans+=t;
		}
	}

	ll p=f(lo)+1;
	rep(i,ans.length()){
		if(s<=p && p<s+20) putchar(ans[i]);
		p++;
	}
	puts("");

	return 0;
}