Amazon Interview Question

create a function type fizz buzz