LONDON -- Former Saint Mary's College star Patty Mills' 3-pointer with time expiring gave Australia an 82-80 win over Russia in the men's Olympic basketball tournament on Monday.

Australia (3-2) clinched fourth in its group and could face the U.S. team in the quarterfinals Wednesday if the Americans beat Argentina in their game Monday night.

Russia (4-1) had already clinched top spot in Group B.

Mills, who entered the game as the tournament's No. 2 scorer at 22 points per game, scored 13. He scored a tournament-high 39 in the Aussies' previous game, a win over Great Britain.

Matthew Dellavedova, who will be a senior at Saint Mary's in the fall, contributed 10 points and seven assists.

Australia led for most of the game but Vitaliy Fridzon's two free throws gave Russia an 80-79 lead with four seconds left.

Mills, who missed a 3-pointer with less than a minute remaining, got the ball at the top of the key and nailed the game-winner.

Sasha Kaun led Russia with 18 points, and Alexey Shved and Andrei Kirilenko each had 13. Kirilenko sat out the final minute with a cut above the left eye.

Joe Ingles had 20 points to lead Australia with 20 and Mills added 13.