The first line contains an integer n (1 <= n <= 1000) ——Indicates the number of days planned. The second line contains space-separated n integers which are the spoilt sequence of plans.
It is guaranteed that the given sequence is a permutation, i.e. it contains only integers from 1 to n, and every number is used exactly 1 time.