Rosetta Problems

ただの計算2

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/1037