CF197#DIV2:A-Helpful Maths
http://codeforces.com/contest/339/problem/AXenia the beginner mathematician is a third year student at elementary school. She is now learning the addition operation.The teacher has written down th