Rosetta Problems

Free Contest 59 - DICE

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