d= int(input())
a=[]
for i in range(d):
    b=input().split()
    a.append(b)
for i in range(d):
 print(a[i])

'''
d= int(input())
a=[]
b=input().split()
#a.append(b)
print(b)
0/p:-=

1 2 3 4
1 2 3 5
132 4 4
4 5 5 6
['1', '2', '3', '4']
['1', '2', '3', '5']
['132', '4', '4']
['4', '5', '5', '6']
anji

'''
print("{}".format("anji"))
