Hungary, last qualified for the quarterfinals