#include<cstdio>
#include<iostream>
#include<algorithm>
using namespace std;

int num[105];
int main(){
	int n;
	cin >> n;
	int cnt = 0;
	for(int i = 1; i <= n; i++){
		cin >> num[i];
	}
	sort(num + 1, num + 1 + n);
	for(int i = 1; i <= n; i++){
		if(num[i] != num[i + 1]) cnt++;
	}
	cout << cnt << endl;
}
