Rosetta Problems

Free Contest 29 - DICE

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