Costa Rica's hopes of making it to the last 16 were ended by a rampant Brazil in the Suwon World Cup stadium today.

The South American aces put on an attacking show to provide further evidence that they can win the World Cup, eventually putting five past the hapless Costa Rican defence.

The win maintained Brazil's 100% record and set up a second-round match against the runners-up of Group H in Kobe on Monday.

Today's demolition has taken Brazil's goals tally in the tournament to 11 - level with Germany - and should ensure they are in good spirits for the second round encounter.

Their antics in defence will have left the Brailian coach with plenty to ponder, however, having seen it breached twice and the central Americans squander numerous good chances.

Those missed chances ensured a rollercoaster day for Costa Rica ended in heartbreak after Turkey pipped them for second spot in Group C on goal difference.

Costa Rica were facing an uphill struggle as early as the 10th minute when Luis Marin got the final touch on an Edilson cross.

Ronaldo made it 2-0 three mintes later and Edmilson's outrageous overhead kick made it 3-0 on 38 minutes.

A goal a minute later by Manchester City's Paulo Wanchope gave Costa Rica some hope and ensured a spirited second half.

The goal all of Costa Rica had been praying for came on 56 minutes when Centeno crossed for Gomez to head home.

As things now stood in Suwon and Seoul, it was Costa Rica who would edge through by the narrowest of margins of goals scored.

But the pendulum swung back towards Turkey in the 62nd minute when Rivaldo scored with a sweet left-foot finish into the far corner to make it 4-2.

Two minutes later, Costa Rica's hopes suffered another crushing blow when Junior broke through on the left and lifted the ball over Lonnis and into the net.

The Central Americans might have pulled a goal back when the ball deflected off a Brazilian player and hit the foot of the post.

Substitute Rolando Fonseca then shot narrowly wide and Wanchope hit the bar either side of a Ronaldo shot which came off the post and deflect into Lonnis' arms.