Read an integer n. Print numbers 1..n, one per line, but print Fizz for multiples of 3, Buzz for multiples of 5, and FizzBuzz for multiples of both.
Input: one integer n (1 ≤ n ≤ 100). Output: n lines.
Your program reads from stdin and prints to stdout.
Example 1
Input: 5
Output: 1 2 Fizz 4 Buzz
Hints
Read an integer n. Print numbers 1..n, one per line, but print Fizz for multiples of 3, Buzz for multiples of 5, and FizzBuzz for multiples of both.
Input: one integer n (1 ≤ n ≤ 100). Output: n lines.
Your program reads from stdin and prints to stdout.
Example 1
Input: 5
Output: 1 2 Fizz 4 Buzz
Hints