To advance to the quarterfinals, Tanzania must finish in the top two of Group A or secure one of the best third-place spots.