from collections import Counter n = input() d = Counter(input().split()) for i in input().split(): d[i] -= 1 for k,v in d.items(): if v: print(k)