Rosetta Problems

Lexicographic exercise #1

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