- محدودیت زمان: ۴ ثانیه
- محدودیت حافظه: ۲۵۶ مگابایت
Nima and Sina are searching for a bag full of money. They know the money has been hidden in a grave in the cemetery, but they don't know which grave it is.
Nima has a friend in the Civil Registry Office, and with the help of his friend, he gathered a list of people who are buried in this cemetery. Meanwhile, Sina ran into the cemetery and wrote down all the grave names he saw. They noticed Sina's list has one name more than Nima's list. They believe there is exactly one grave that is not registered in the Civil Registry Office, and the money is hidden in it. They want you to find its name; If you help them you have the chance to get $4,500,000$ Chugh from the bag.
ورودی
The first line of input contains the integer $N$, the number of names in Sina's list.
Each of the following $N$ lines contains the names of grave names.
The additional $N-1$ lines contain the names of people in Nima's list.
All the names will consist of at least one and at most $20$ lowercase letters of the English alphabet. The names in a list won’t necessarily be unique.
$$1 \le N \le 100\ 000$$
خروجی
The first and only line of output must contain the name of the fake grave.
مثال
ورودی نمونه ۱
3
stanton
karimi
bagheri
bagheri
karimi
خروجی نمونه ۱
stanton
ورودی نمونه ۲
4
nimaei
sinaei
nimaei
gol
sinaei
gol
nimaei
خروجی نمونه ۲
nimaei
ارسال پاسخ برای این سؤال