Eduardo Vargas and Alexis Sanchez each scored twice and Chile advanced to the Copa America Centenario quarterfinals with a 4-2 win over Panama on Tuesday.
Chile (2-0-1) clinched second place in Group D and will face Mexico in the next round on Saturday in Santa Clara, California. Panama (1-0-2) was eliminated.
Miguel Camargo scored for Panama in the fifth minute with a shot that deflected off Chile goalkeeper Claudio Bravo. Vargas equalized 10 minutes later on a rebound off an Alexis Sanchez shot.
The Hoffenheim striker added his second goal with a header just before halftime, and Sanchez scored in the 50th and 90th minute. Abdiel Arroyo scored for Panama in the 75th.
Defending Copa America champion Chile had several other scoring chances, including an Arturo Vidal header saved by Panama goalkeeper Jaime Penedo in the first half.