Write a fonction or an object of your design called FizzBuz that takes input integer n and prints all the numbers from 1 up to n in a new line.
- if the number is divisible by 3 then print "Fizz"
- if the number is divisible by 5 then print "Buzz"
- if the number is divisible by both 3 and 5, print "FizzBuzz". Otherwise just print the number.