Rosetta Problems

Simplified mahjong

https://atcoder.jp/contests/agc003/tasks/agc003_b