def nums(n)
  return n - (n / 3) - (n / 5) + (n / 15)
end
def calc(n)
  res = 0
  res = res + (n / 3) * 4
  res = res + (n / 5) * 4
  bs = 1
  k = 1
  while bs * 10 < n
    res = res + (nums(bs*10-1)-nums(bs-1)) * k 
    bs = bs * 10
    k = k + 1
  end
  res = res + (nums(n)-nums(bs-1)) * k 
  return res
end

s = gets.to_i - 1
l = 0
r = 100000000000000000000
while l + 1 < r
  m = (l + r) / 2
  if calc(m) <= s
    l = m
  else
    r = m
  end
end
a = ""
for i in l+1..(l+100)
  if i % 3 == 0
    a = a + "Fizz"
  end
  if i % 5 == 0
    a = a + "Buzz"
  end
  if i % 3 != 0 && i % 5 != 0
    a = a + i.to_s
  end
end

puts a[s - calc(l),20]