Help me in solving LB08C problem

My issue

i am unable to understand this problem

My code

#Once the observations / logic is clear, click on 'Next' to continue

Learning course: Beginner DSA in Python
Problem Link: CodeChef: Practical coding for everyone