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