Help me in solving BM10 problem

My issue

My code

# The code below is incorrect. Debug this code to solve the problem.

t = int(input())
for i in range(t):
    X, Y = map(int, input().split())
    prize_top10 = 10*X           
    prize_11to100 = 100*Y         

Learning course: Python for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone