import java.util.Scanner; class Testprint { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int i=1; for(i=1;i<=n;i++){ if(0==i%3&&0==i%5) System.out.println("FizzBuzz"); else if(0==i%3) System.out.println("Fizz"); else if(0==i%5) System.out.println("Buzz"); else System.out.println(i); } } }