Rosetta Problems

trick | treat

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/1203