Rosetta Problems

Beautiful Sequence #1

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