Rosetta Problems

Three Letters

https://atcoder.jp/contests/code-festival-2018-final-open/tasks/code_festival_2018_final_d