.
american roulette algorithm encp