function Main(input) {
    var tmp = input.split("\n");
    var N = parseInt(tmp[0],10);
    var A = tmp[1].split(" ");

    for(var i=0;i<N;i++){
        var sumj =0;
        for(var j=0;j<N;j++){
            if(A[j]==i+1){sumj++}
        }  
        console.log(sumj);
    }

    //console.log(N+"社員数");
    //console.log(A);


}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));