m = int(input()) mlist = list(map(int, input().split())) mlist = sorted(set(mlist)) # 排序并去重 #print(mlist) n = int(input()) nlist = list(map(int, input().split())) nlist = sorted(set(nlist)) # 排序并去重 #print(nlist) res = '' i, j = 0, 0 while i < len(mlist) and j < len(nlist): if mlist[i] < nli...