import java.util.*; import java.lang.*; import java.io.*; class Ideone { public static void main (String[] args) throws java.lang.Exception { InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); String X1 = br.readLine(); int X2 = Integer.parseInt(X1); for(int n=1;n<=X2;n++){ if(n % 3 == 0 ){ System.out.print("Fizz"); } if(n % 5 == 0 ){ System.out.print("Buzz"); } if((n % 3 != 0) && (n % 5 != 0)){ System.out.print(n); } if((n