n = int(input())

p1 = 0
p2 = 0
p3 = 0
p4 = 0
p5 = 0

for i in range(0, n):
    num = int(input())

    if num <= 199:
        p1 += 1
    elif 200 <= num <= 399:
        p2 += 1
    elif 400 <= num <= 599:
        p3 += 1
    elif 600 <= num <= 799:
        p4 += 1
    else:
        p5 += 1

print(f"{p1/n * 100:.2f}%")
print(f"{p2/n * 100:.2f}%")
print(f"{p3/n * 100:.2f}%")
print(f"{p4/n * 100:.2f}%")
print(f"{p5/n * 100:.2f}%")
