import std.stdio;
import std.string;
import std.array;
import std.algorithm;
import std.conv;

void main() {
	auto n = readln.chomp.to!int;
	auto a = readln.chomp.split(' ').map!(to!int).array;

	auto counts = new int[n];
	foreach (e;a) {
		++counts[e - 1];
	}

	foreach (e;counts) {
		writeln(e);
	}
}
