#include <bits/stdc++.h>
using namespace std;
int main() {
  long long N, a, cnt = 0, d[101] = {};
  cin >> N;
  for (long long i = 0; i < N; i++) {
    cin >> a;
    if (d[a] == 0) {
      cnt++;
    }
    d[a]++;
  }
  cout << cnt << endl;
  return 0;
}
