Japan drew 1-1 with Sweden to finish second in Group F and book a Round of 32 clash with Brazil, while Sweden also advanced as one of the best third-placed teams.