Rosetta Problems

Don't Rotate the Dice!

https://onlinejudge.u-aizu.ac.jp/problems/3138