I = len("i") III = len("iii") V = len("iiiii") XV = III * V n = int(input()) for i in range(I, n + I): print("FizzBuzz" if not i % XV else \ "Fizz" if not i % III else \ "Buzz" if not i % V else i)