Rosetta Problems

Interesting Equation

https://atcoder.jp/contests/xmascon18/tasks/xmascon18_i