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