aaa = input() ans = "" num = 0 for i in range(aaa): if (i+1)%3 == 0 and (i+1)%5 == 0: ans = ans + "FizzBuzz" num = num + 4 elif (i+1)%3 == 0: ans = ans + "Fizz" num = num + 2 elif (i+3)%5 == 0: ans = ans + "Buzz" num = num + 2 print num