import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); final int N = sc.nextInt(); final int ZERO = N - N; final int ONE = N / N; final int THREE = ONE + ONE + ONE; final int FIVE = ONE + ONE + ONE + ONE + ONE; final int FIF = THREE * FIVE; for(int i = ONE; i <= N; i++){ if(i % FIF == ZERO){ System.out.println("FizzBuzz"); }else if(i % FIVE == ZERO){ System.out.println("Buzz"); }else if(i % THREE == ZERO){ System.out.println("Fizz"); }else{ System.out.println(i); } } } }