# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
622666 | KK_1729 | Utrka (COCI14_utrka) | Cpython 3 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
n = int(input())
o = {}
for _ in range(n):
a = input()
if o.get(a):o[a] += 1
else:
o[a] = 1
for _ in range(n-1):
a = input()
o[a] -= 1
for key, value in o.items():
if value:print(key)