#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int A[N];
  for (int i = 0; i < N; i++) {
    cin >> A[i];
  }
  for (int j = 1; j < N; j++) {
    cout << lower_bound(A, A + N, j) - A - (lower_bound(A, A + N, j - 1) - A)
         << endl;
  }
}
