implement getCardNumWhoseRankIs(int)