Help me in solving LBCP08A problem

My issue

show me the input of this problem

My code

// Step 1: Read and understand the problem statement and sample test cases

// Click on Next once you are ready to proceed.

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