Rosetta Problems

値をさがせ

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