FizzBuzz

In this problem, you will make a program to help Paul find the result of N using the rules of FizzBuzz.


The rules of FizzBuzz are the following:



  • If the N given is divisible by 3 output Fizz

  • If the N given is divisible by 5 output Buzz

  • If the N given is divisible by both 3 and 5 output FizzBuzz

  • Otherwise output N


Input Specification


The input will consist of one positive integer: N


Output Specification


The output will be the result of N according to the rules


Sample Input 1


15


Sample Output 1


FizzBuzz


Sample Input 2


7


Sample Output 2


7
Comments
  • #70: BlackBox commented 1¬†year, 3¬†months ago

    https://youtu.be/QPZ0pIK_wsc

    Reply