/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Ideone { public static void main (String[] args) throws java.lang.Exception { // your code goes here DataInputStream d = new DataInputStream(System.in); String ss = d.readLine(); int N = Integer.parseInt(ss); for(int i=1;i<=N;i++){ String s = Integer.toString(i); if(i % 3 == 0) s = "Fizz"; if(i % 5 == 0) s = "Buzz"; if(i % 15 == 0) s = "FizzBuzz"; System.out.println(s); } } }