#P173. 练28.4 上课点名
练28.4 上课点名
Description
Class is about to begin, and the teacher notices that one student is missing.
There are students in total, with student IDs ranging from to . The teacher records the IDs of all present students. Help the teacher write a program to find the ID of the missing student.
Input Format
The first line contains , the total number of students who should be present ().
This is followed by lines, each containing an integer representing the ID of a present student (it is guaranteed that no student ID appears twice).
Output Format
Output a single integer representing the ID of the missing student.
Sample
3
1
32