归并排序,sort有什么意思呢?

n1 = input()
merge = []
list1 = list(map(int,input().split()))
list2 = list(map(int,input().split()))
left_i , right_i = 0,0

while left_i<len(list1) and  right_i<len(list2):
    if list1[left_i]<list2[right_i]:
        merge.append(list1[left_i])
        left_i+=1
    else:
        merge.append(list2[right_i])
        right_i+=1
merge += list1[left_i:]
merge += list2[right_i:]
print(" ".join(str(i)for i in merge))