yes
Time Limit: 1 seconds
Memory Limit: 1024 MB
Rating: 900
Problem StatementGiven an integer $N$ $(1 \le N \le 10^9)$, output "Fizz" if $N$ is divisible by 3, "Buzz" if $N$ is divisible by 5 and "FizzBuzz" in the case of both. (without quotes or spaces) If the given integer $N$ satisfies none of these conditions, output $N$.
InputThe first line has integer $N$.
OutputOutput the answer described in the problem statement.
Sample CasesSample Input 1: 3 Sample Output 1: Fizz Sample Input 2: 5 Sample Output 2: Buzz Sample Input 3: 8 Sample Output 3: 8 Sample Input 4: 30 Sample Output 4: FizzBuzzExplanation
Not available for this problem.
SourcesIanOJ Contest #2 (Div. 4) > Problem C (Contributed by admin@ian@)
Submit | Back