You are given a list of n-1 integers and these integers are in the range of 1 to n. There are no duplicates in the list. One of the integers is missing from the list. Print that number (It's guaranteed that this number always exists)
The input is divided into 2 parts
N- the size of the array (N is always greater than 1)
A-the array