https://codeforces.com/contest/986/problem/A

Help me with the problem explanation and solution, pls