Some of the last medals of The Games went to America's women's basketball team, who pulled out a nail-biter against their French hosts in the final seconds of the gold medal round.