FizzBuzz (Harder)

Paul has decided to make the game of FizzBuzz even harder. He has decided that the two numbers that define the rules can be changed by him any time he wants.


For reference these are the rules of FizzBuzz:



  • If the N given is divisible by X output Fizz

  • If the N given is divisible by Y output Buzz

  • If the N given is divisible by both X and Y output FizzBuzz

  • Otherwise output the number given


Input Specification


The first line of input is the number N which is a positive integer. X and Y are on separate lines that order and 2 <= X,Y <= 20


Output Specification


The output will be the output according to N and Paul's rules


Sample Input 1


14
2
7


Sample Output 1


FizzBuzz


Sample Input 2


7
2
5


Sample Output 2


7
Comments
  • There are no comments.