Rosetta Problems

Getting Difference

https://atcoder.jp/contests/agc018/tasks/agc018_a