#include <bits/stdc++.h>
using namespace std;
int INF = 2147483647;
int inf = -2147483648;
int dir[8][2] = {-1, 0, 1, 0, 0, -1, 0, 1, -1, -1, 1, 1, 1, -1, -1, 1};
const double PI = acos(-1.0);
int a;
int mapp[1005];
int main() {
  ios::sync_with_stdio(false);
  int n;
  int cnt = 0;
  int sum = 0;
  int sum1 = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a;
    mapp[a]++;
  }
  for (int i = 0; i <= 100; i++) {
    sum += mapp[i];
    sum1 = ceil(sum * 1.0 / (i + 1));
    inf = max(inf, sum1);
  }
  cout << inf << endl;
  return 0;
}
