#include <iostream>
#include <sstream>
#include <string>
using namespace std;
typedef long long ll;

ll tab[20];

ll charcnt(ll n) {
	int a = 0;
	ll tmp = n;
	while(tmp) {
		a++;
		tmp /= 10;
	}
	ll res = tab[a-1];
	ll b = 1;
	for(int i = 0; i < a-1; i++)
		b *= 10;
	b--;

	res += (n/3 + n/5 - b/3 - b/5) * 4;
	res += (n-b - ((n/3 + n/5 - n/15) - (b/3 + b/5 - b/15))) * a;

	return res;
}

int main() {
	ll s;
	cin >> s;

	tab[0] = 0;
	ll tmp = 10;
	for(int i = 1; i < 19; i++) {
		tab[i] = charcnt(tmp-1);
		tmp *= 10;
	}

	ll l, r;
	l = 0; r = 1e17;
//	cout << charcnt(r) << endl;
	while(r - l > 1) {
		ll m = l/2 + r/2 + (l%2 + r%2) / 2;
		ll res = charcnt(m);

		if(res < s) {
			l = m;
		}
		else {
			r = m;
		}
	}
//	cout << l << " " << r << endl;

	if(l == 0)
		l = 1;
	tmp = charcnt(l-1) + 1;
//	cout << tmp << endl;
	string str;
	for(int i = 0; i < 20; i++) {
		if((l+i) % 15 == 0) {
			str += "FizzBuzz";
		}
		else if((l+i) % 5 == 0) {
			str += "Buzz";
		}
		else if((l+i) % 3 == 0) {
			str += "Fizz";
		}
		else {
			stringstream sstr;
			string tmps;
			sstr << l+i;
			sstr >> tmps;
			str += tmps;
		}
	}
//	cout << str << endl;

	cout << string(str.begin() + (s-tmp), str.begin() + (s-tmp+20)) << endl;
}