.
roulette online algorithm lcmi