n=int(input()) s1=list(map(int,input().split())) zj=[item for item in s1 if item==90] dj=[item for item in s1 if item>90] rj=[item for item in s1 if item<90] print(len(zj),len(rj),len(dj)) /************************************************************** Problem: 1804 User: admin Language: Python Result: Accepted Time:101 ms Memory:34480 kb ****************************************************************/