Rosetta Problems

Create function #2

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