#include #include #include #include #include #include typedef int32_t i32; typedef int64_t i64; #define MAX(a,b) ((a) > (b) ? (a) : (b)) #define MIN(a,b) ((a) < (b) ? (a) : (b)) #define ABS(a) ((a) > (0) ? (a) : -(a)) void run (void) { i32 n; scanf ("%" SCNi32, &n); for (i32 i = 1; i <= n; ++i) { if (i % 15 == 0) { puts("FizzBuzz"); } else if (i % 3 == 0) { puts("Fizz"); } else if (i % 5 == 0) { puts("Buzz"); } else { printf ("%" PRIi32 "\n", i); } } } int main (void) { run (); return 0; }