提交时间:2025-05-14 18:38:34
运行 ID: 322174
def s(a,n): c1=c5=c10=0 for i in a: if i==1: c1+=1 elif i==5: c5+=1 elif i==10: c10+=1 print(c1,c5,c10,sep='\n') n=int(input()) a=list(map(int,input().split())) s(a,n)