One number from $1$ to $n$ is missing. Given the remaining $n-1$ numbers (in any order), print the missing one.
Input
Line 1: $n$ ($2 \le n \le 100$). Line 2: the $n-1$ present numbers.
Output
Print the missing number.
Example 1
Input
5 1 2 4 5
Output
3
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.