Two teams will advance to the gold medal match, while the remaining teams will be left to duel for third.