Help me in solving LB01 problem

My issue

My code

# Update the program below to solve the problem

t = int(input())            
for i in range(t):          
    A, C = map(int, input().split())
    

Learning course: Solve Programming problems using Python
Problem Link: CodeChef: Practical coding for everyone