Find the order of balls asked in the ring.