Rosetta Problems

Level hint #2

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