There are $n$ light bulbs in a circle and one of them is marked. Let operation $A$: Take a positive divisor $d$ of the number $n,$ starting with the light bulb marked and clockwise, we count around the circumference from $1$ to $dn$, changing the state (on or off) to those light bulbs that correspond to the multiples of $d$. Let operation $B$ be: Apply operation$ A$ to all positive divisors of $n$ (to the first divider that is applied is with all the light bulbs off and the remaining divisors is with the state resulting from the previous divisor). Determine all the positive integers $n$, such that when applying the operation on $B$, all the light bulbs are on.