while True: try: n, nums1 = int(input()), list(map(int, input().split())) m, nums2 = int(input()), list(map(int, input().spli...