#include int main(void){ int n; scanf("%d", &n); for(int i = 1; i <= n; i++){ if(i%15 == 0){ printf("FizzBuzz\n"); continue; } if(i%3 == 0){ printf("Fizz\n"); continue; } if(i%5 == 0){ printf("Buzz\n"); continue; } else{ printf("%d\n", i); } } return 0; }