Help me in solving PREQ08 problem

My issue

Update the ‘_’ below to solve the problem

accept the count of test cases given in the the 1st line
t = int(input())
run a loop to accept ‘t’ inputs
for i in range(t):
accept 2 integers on the 1st line of each test case
A, B = map(int,i.split())
accept 3 integers on the 2nd line of each test case
C, D, E = map(int,i.split())
output the 5 integers on a single line for each test case
print(A, B, C, D, E)

My code

# Update the '_' below to solve the problem

#accept the count of test cases given in the the 1st line
t = int(input())       
#run a loop to accept 't' inputs
for i in range(t):     
    #accept 2 integers on the 1st line of each test case
    A, B = map(int,i)      
    #accept 3 integers on the 2nd line of each test case
    C, D, E = map(int,i)   
    #output the 5 integers on a single line for each test case    
    print(A, B, C, D, E)

Learning course: Design and Analysis of Algorithms
Problem Link: Test cases with multiple lines of input in Design and Analysis of Algorithms