n=int(input()) a=list(map(int,input().split())) assert(1<=n<=10**5) assert(n==len(a)) for i in a: assert(0<=i<10**9)