Help me in solving REACHTARGET problem

My issue

How to code for iterating through test cases

My code

# cook your dish here

T = input()



def runs_to_win(score):
    
    runs = target-score
    
    return runs


for test in T:
    
    

Problem Link: REACHTARGET Problem - CodeChef

@kushwanth1349
The logic is print X-Y;