Rosetta Problems

E869120 and the Legendary Number

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