N = int(input()) A = list(map(int, input().split())) C = [0 for _ in range(A[0])] C[0] = N for a in A: if a