N,*A = map(int,open(0).read().split()) for x in A: assert x < N