Rosetta Problems

CODE FESTIVAL 2015

https://atcoder.jp/contests/code-festival-2015-quala/tasks/codefestival_2015_qualA_a