407034: GYM102697 005 Fizz Buzz
Memory Limit:256 MB
Time Limit:1 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
005. Fizz Buzztime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output
Take in a number from 1 through 1000, print Fizz if the number is divisible by 3, print Buzz if the number is divisible by 5, or FizzBuzz if the number is divisible by both. If none of these conditions are true, print nothing
InputThe only line of input contains a single positive integer N between 1 and 1000 inclusively
OutputFizz, Buzz, FizzBuzz, or nothing
ExamplesInput1Output
Input
3Output
FizzInput
5Output
BuzzInput
15Output
FizzBuzz