Problem Description

Print numbers 1..n, but print Fizz for multiples of 3, Buzz for multiples of 5, and FizzBuzz for both.

Input Format

One integer n.

Output Format

n lines.

Sample Test Case

Input:
15
Output:
1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next