Rosetta Problems

Three digits

https://kep.uz/practice/problems/problem/520