Rosetta Problems

CODE FESTIVAL 2014

https://atcoder.jp/contests/code-festival-2014-quala/tasks/code_festival_qualA_a