Rosetta Problems

Awesome function

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