In baseball, sometimes it's better to be lucky than good.

Facing elimination at the World Baseball Classic, Samurai Japan found a way to be both.

Japan scored a pair of runs on an error and starter Hisashi Iwakuma took care of the rest as Japan claimed the fourth and final spot in the WBC semifinals with a 5-0 win over Cuba on Wednesday night at PETCO Park.