Daily Challenge | August 16 byC August 15, 2021 Python: n=int(input()) first=list(map (int,input().split())) m=int (input()) last=list(map(int, in…