#include<bits/stdc++.h>
using namespace std;
 
int getLog(long long idx)
{
  long long s = 1LL;
  int keta = 0;
  while(s <= idx) {
    s *= 10LL;
    ++keta;
  }
  return(keta);
}
 
long long S;
 
 
pair< bool, long long > Count(long long idx)
{
  long long mozi = 0;
 
  int keta = getLog(idx); // 何桁あるか
  long long small = 1, big = min(10LL, idx + 1);
 
  for(int i = 1; i <= keta; i++) {
    long long head_3 = (small + 2) / 3 * 3;
    long long top_3  = (big   + 2) / 3 * 3;
    long long head_5 = (small + 4) / 5 * 5;
    long long top_5  = (big   + 4) / 5 * 5;
 
    long long head_15 = (small + 15) / 15 * 15;
    long long top_15  = (big   + 15) / 15 * 15;
 
    long long four = (top_3 - head_3) / 3 + (top_5 - head_5) / 5;
    long long eight = (top_15 - head_15) / 15;
 
    mozi += four * 4 + 1LL * (big - small - (four - eight)) * i;
    if(mozi >= S) return(make_pair(false, mozi));
    small *= 10;
    big *= 10;
    big = min(big, idx + 1);
  }
  return(make_pair(true, mozi));
}
 
int main()
{
  cin >> S;
 
  long long low = 1, high = S;
  while(low < high) {
    long long mid = (low + high + 1) / 2LL;
    if(Count(mid).first) low = mid;
    else high = mid - 1;
  }
 
  long long pos = Count(low).second;
 
 
  if(S == 1) {
    pos = 0;
    low = 0;
  }
  string ret = "";
  for(long long i = low + 1; i < low + 15; i++) {
    stringstream sss;
    if(i % 15LL == 0) sss << "FizzBuzz";
    else if(i % 3LL == 0) sss << "Fizz";
    else if(i % 5LL == 0) sss << "Buzz";
    else sss << i;
    ret += sss.str();
  }
 
  cout << ret.substr(S - pos - 1, 20) << endl;
}