#include <bits/stdc++.h>
using namespace std;
long long count(long long x){
  long long ans = x / 15 * 8;
  for (int i = 1; i < x % 15; i++){
    if (i % 3 != 0 && i % 5 != 0){
      ans++;
    }
  }
  return ans;
}
long long digitcount(long long x){
  long long ans = 0;
  long long X = 1;
  int d = 1;
  while (X * 10 <= x){
    ans += (count(X * 10) - count(X)) * d;
    X *= 10;
    d++;
  }
  ans += (count(x) - count(X)) * d;
  return ans;
}
long long length(long long x){
  return digitcount(x) + (x - 1) / 3 * 4 + (x - 1) / 5 * 4;
}
char fizzbuzz(long long x){
  long long tv = 0;
  long long fv = 100000000000000000;
  while (fv - tv > 1){
    long long mid = (tv + fv) / 2;
    if (length(mid) < x){
      tv = mid;
    } else {
      fv = mid;
    }
  }
  x -= length(tv) + 1;
  if (tv % 15 == 0){
    return "FizzBuzz"[x];
  } else if (tv % 5 == 0){
    return "Buzz"[x];
  } else if (tv % 3 == 0){
    return "Fizz"[x];
  } else {
    return to_string(tv)[x];
  }
}
int main(){
  long long s;
  cin >> s;
  for (int i = 0; i < 20; i++){
    cout << (char)fizzbuzz(s + i);
  }
  cout << endl;
}
