0

Multiples Game
Given an array of divisors A, loop n from 1 to infinity and do one of the following:
If n is divisible by an even number of divisors of A, print out n
If n is divisible by an odd number of divisor(s) of A, print out * (clap)
Examples
Input:
A = [3, 5]
Output:
1
2
*
4
*
*
7
8
*
*...