#AT236b. Who is missing?
Who is missing?
Background
Special for beginners, ^_^
Description
有 4n 张卡片,写着数字 1 到 n 。每个数字都被写在 4 张卡片上。现在给出其中的 (4n−1) 张卡片上写的数字,请你输出剩下的那张卡片上写的数字是多少。
Format
Input
第一行数字n,表示有1-n个数字 第二行4*n -1个数字
Output
缺少的那个数字
Samples
3
1 3 2 3 3 2 2 1 1 1 2
3
1
1 1 1
1
Limitation
1 ≤ N ≤ 10^5 1 ≤ Ai≤ N (1 ≤ i ≤ 4N − 1)
Related
In following contests: