- Time limit: 1.00 s
- Memory limit: 512 MB
You are given all numbers between except one. Your task is to find the missing number.
Input
The first input line contains an integer .
The second line contains numbers. Each number is distinct and between and (inclusive).
Output
Print the missing number.
Constraints
Example
Input:
5 2 3 1 5
Output:
4