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