Rosetta Problems

Simple Math 4

https://atcoder.jp/contests/arc176/tasks/arc176_b