﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Histogram
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            double sum1 = 0;
            double sum2 = 0;
            double sum3 = 0;
            double sum4 = 0;
            double sum5 = 0;
            double p1 = 0.00;
            double p2 = 0.00;
            double p3 = 0.00;
            double p4 = 0.00;
            double p5 = 0.00;

            for (var i = 1; i <= n; i++)
            {
                int num = int.Parse(Console.ReadLine());

                if (num < 200)
                {
                    sum1++;
                }
                else if (num >= 200 && num <= 399)
                {
                    sum2++;
                }
                else if (num >= 400 && num <= 599)
                {
                    sum3++;
                }
                else if (num >= 600 && num <= 799)
                {
                    sum4++;
                }
                else if (num >= 800)
                {
                    sum5++;
                }

                p1 = (sum1 * 100) / n;
                p2 = (sum2 * 100) / n;
                p3 = (sum3 * 100) / n;
                p4 = (sum4 * 100) / n;
                p5 = (sum5 * 100) / n;
            }

            Console.WriteLine("{0:f2}%", p1);
            Console.WriteLine("{0:f2}%", p2);
            Console.WriteLine("{0:f2}%", p3);
            Console.WriteLine("{0:f2}%", p4);
            Console.WriteLine("{0:f2}%", p5);
        }
    }
}