
3
0 3 2
3 1 2
11 3 2
2
4 2 0
1 1 1
[[0, 3, 2], [1, 1, 1], [3, 1, 2], [4, 2, 0], [11, 3, 2]]
#向列表lst1和lst2中输入数据
lst1=[]
lst2=[]
for i in range(int(input())):
lst1.append(list(map(int,input().split())))
for i in range(int(input())):
lst2.append(list(map(int,input().split())))
#排序
def merge(lst1,lst2):
lena=len(lst1)
lenb=len(lst2)
c=[0]*(lena+lenb)
k=0
__________
__________
while __________:
if __________:
c[k]=lst1[i]
k+=1
__________
else:
c[k]=lst2[j]
k+=1
__________
return c
print(merge(lst1,lst2))