while True: try: n,l1,n1,l2 = int(input()),input().split(),int(input()),input().split() a = 0 for i&nb...