fizz buzz and prime factors solutions