[print((i%3==0)*"fizz"+(i%5==0)*"buzz" or i) for i in range(1, int(input())+1)]