Great Britain's women's basketball team saw their Olympics end in frustration as they lost 78-66 to Brazil in the battle to avoid bottom spot in Group B.
Not even 15 points from Natalie Stafford could turn around a match in which the hosts were behind from the first quarter.
The result means that Britain's London 2012 campaign ends with five defeats out of five.
and were joined in the last eight by Australia.
France, beat fellow qualifiers Russia 65-54 while three-time silver medallists Australia earned a 72-63 victory over Canada, who also reached the quarter-finals.
USA won Group A with a 100% record as they eased to a 114-66 victory over China, who finished third in the group to claim a last eight spot.
USA will play Canada in Tuesday's quarter-finals while Turkey, the Group A runners-up, will meet Russia.
Australia take on China and France will be up against Czech Republic.