a=int(input())num1=0num2=0for i in range(a): b=int(input()) if 60<=b and b<85: num1+=1 elif b>=85: num2+=1 num1+=1print("%.0f%%" %(num1/a*100))print("%.0f%%" %(num2/a*100))
f = 1.6#小数部分舍弃print("1.6直接整型输出是 %d"%f,end="n")#四舍五入print("1.6利用浮点数的精度范围输出%.0f"%f)