Three players AA, BB and CC play the following game: On each of three cards an integer is written. These three numbers pp, qq, rr satisfy 0<p<q<r0 < p < q < r. The three cards are shuffled and one is dealt to each player. Each then receives the number of counters indicated by the card he holds. Then the cards are shuffled again; the counters remain with the players.

This process (shuffling, dealing, giving out counters) takes place for at least two rounds. After the last round, AA has 20 counters in all, BB has 10 and CC has 9. At the last round BB received rr counters. Who received qq counters on the first round?