#P3395. Missing Number

Missing Number

当前没有测试数据。

Description

You are given all numbers between 1,2,,n except one. Your task is to find the missing number.

Input Format

The first input line contains an integer n.

The second line contains n1 numbers. Each number is distinct and between 1 and n (inclusive).

Output Format

Print the missing number.
5
2 3 1 5
4

Hint

2≤n≤2⋅105

Source

CSES