Rosetta Problems

Dice Product(★3)

https://atcoder.jp/contests/typical90/tasks/typical90_az