Rosetta Problems

Free Contest 14 - DICE

https://oj.vnoi.info/problem/fc014_dice