# your code goes here N=int(input()) L=[int(i) for i in input().split()] V=[0]*7 for i in range(N): V[L[i]]+=1 m=0 for i in range(7): if m