An octopus predicted Friday that Japan will win eight gold medals at the Rio Olympics.

At an event in Akashi, Hyogo Prefecture, aimed at promoting locally caught octopuses, the cephalopod was placed in a tank with three plastic boxes labeled "7 or under," "8" and "9 or more," and it chose the middle one.

Organizers had chained up the box labeled "7 or under" to prevent the octopus from choosing it and placed crabs inside the two other boxes to lure the creature.

Japan captured seven gold medals at the 2012 London Games.

Yoriko Hirayama, a 46-year-old woman who attended the event, expressed hope that Japan will win a lot more than eight gold medals, adding that she will cheer on the national team from Japan.