Skip to content
UPEEC

FizzBuzz

Easy#basics#loops· solved by 0 · time limit 2.0 s

For every number from 1 to nn, print Fizz if it is divisible by 3, Buzz if divisible by 5, FizzBuzz if divisible by both, otherwise the number itself.

Input

A single integer nn.

Output

nn lines.

Constraints

1≤n≤10001 \le n \le 1000

Sample 1

Input

15

Output

1
2
Fizz
4
Buzz
Fizz
7
8
Fizz
Buzz
11
Fizz
13
14
FizzBuzz

Sign in or join free to run and submit your solution.