using System;
using System.Collections.Generic;
using System.Linq;

namespace SandboxForAtCoder
{
    public class Program
    {
        public static void Main(string[] args)
        {
            var line1 = Console.In.ReadLine();
            var line2 = Console.In.ReadLine();

            var n = int.Parse(line1);

            var integers = line2.Split(' ').Select(int.Parse).ToArray();


            for (var i = 1; i <= n; i += 1)
            {
                var result = integers.Count(c => c == i);

                Console.WriteLine(result);
            }
        }
    }
}