Rosetta Problems

Problem #2

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