#include #include using namespace std; using namespace atcoder; using ll=long long; using ld=long double; ld pie=3.141592653589793; ll inf=1555505555; ll mod=1000000007; int main(){ ll n; cin >> n; vectora(n); vectormemo(200000,0); for (ll i = 0; i < n; i++) { cin >> a[i]; memo[a[0]-a[i]]+=1; } for (ll i = 1; i =0; i--) { cout << memo[i] << ' '; } }