Each of three cards has an integer written on it. The three integersp, q, rsatisfy

the condition 0 ≤p<q<r. Three playersA, B, Cmix the cards and pick one each.

The number on the card they select is added to their scores.

This process is repeated at most ten times, after whichAhas 20 points,Bhas 10

points, andChas 9 points. Also we know thatBgot thercard in the last round.

Who received theqcard in the first round?