#include<bits/stdc++.h>

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

using namespace std;

typedef long long ll;
#define Fizz 4
#define Buzz 4
#define FizzBuzz 8

inline string lltos(ll v) { stringstream ss; ss << v; return ss.str(); }
ll pw10[20];

ll calcLength(ll n) {
  ll p3 = 0, p5 = 0, p15 = 0, sum = 0;
  string ns = lltos(n);
  REP(i,1,(int)ns.size()+1) {
    ll maxi = pw10[i] - 1LL;
    if( maxi > n ) maxi = n;
    ll n3 = maxi / 3LL - p3;
    ll n5 = maxi / 5LL - p5;
    ll n15 = maxi / 15LL - p15;
    ll other = maxi - pw10[i-1] + 1LL;
    ll cost = ( other - n3 - n5 + n15 ) * (ll)i;
    cost += ( n3 - n15 ) * Fizz;
    cost += ( n5 - n15 ) * Buzz;
    cost += n15 * FizzBuzz;
    sum += cost;
    p3 += n3, p5 += n5, p15 += n15;
  }
  return sum;
}

int main() {
  pw10[0] = 1;
  REP(i,1,20) pw10[i] = pw10[i-1] * 10LL;
  ll s;
  cin >> s;
  ll L = 0, R = 1000000000000000000LL;
  while( R - L ) {
    ll M = ( L + R ) / 2LL;
    if( calcLength(M) <= s ) L = M + 1LL;
    else                     R = M;
  }
  ll lower = L - 1LL;
  string answer = "";
  for(ll i=lower;i<lower+20LL;++i) {
    string tmp = "";
    if( i % 3LL == 0LL && i % 5LL == 0LL ) tmp = "FizzBuzz";
    else if( i % 3LL == 0LL )              tmp = "Fizz";
    else if( i % 5LL == 0LL )              tmp = "Buzz";
    else                                   tmp = lltos(i);
    if( i == lower ) tmp = tmp[(int)tmp.size()-1];
    answer += tmp;
  }
  ll ptr = calcLength(lower);
  rep(i,(int)answer.size()) {
    if( s <= ptr+(ll)i && ptr+(ll)i < s + 20LL ) printf("%c",answer[i]);
  } puts("");
  return 0;
}