Rosetta Problems

3-number

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