Knot Knowledge

아직 제출이 없습니다시간 제한1초메모리 제한1024 MB

문제

Sonja the scout is taking a test to see if she knows all the knots a scout is supposed to know.  The Scout's Big Book of Knots has descriptions of 1,0001\\,000 different knots, conveniently numbered from 11 to 1,0001\\,000.  For the test, Sonja needs to learn a specific set of nn of these knots.  After some intense studying, she has learned all except one of them, but she has forgotten which knot she does not yet know.

Given the list of knots Sonja needs to learn, and the ones she has learned so far, find the remaining knot to learn.

입력

The first line of input consists of an integer nn (2n502 \le n \le 50), the number of knots Sonja needs to learn. This is followed by a line containing nn distinct integers x_1,,x_nx\_1, \ldots, x\_n (1x_i1,0001 \le x\_i \le 1\\,000), the knots that Sonja needs to learn. Finally, the last line contains n1n-1 distinct integers y_1,,y_n1y\_1, \ldots, y\_{n-1} (1y_i1,0001 \le y\_i \le 1\\,000), the knots that Sonja has learned so far.  You may assume that each knot Sonja has learned is one of the nn knots she was supposed to learn.

출력

Output the number of the remaining knot that Sonja needs to learn.