#! /usr/bin/env python # -*- coding: utf-8 -*- import os import sys import itertools import math from collections import Counter, defaultdict class Main(object): def __init__(self): pass def solve(self): ''' insert your code ''' n = input() for i in range(1, n+1): ans = '' if i % 15 == 0: ans += 'FizzBuzz' elif i % 3 == 0: ans += 'Fizz' elif i % 5 == 0: ans += 'Buzz' else: ans += str(i) print ans return None if __name__ == '__main__': m = Main() m.solve()