Read an integer n. Print the numbers 1 to n, one per line — but print Fizz for multiples of 3, Buzz for multiples of 5, and FizzBuzz for multiples of both.
5
1 2 Fizz 4 Buzz
1 ≤ n ≤ 10^4Run your code to see results
Press Ctrl ↵ to run or Ctrl ⇧ ↵ to submit.