include [HTML_REMOVED]
include [HTML_REMOVED]
include [HTML_REMOVED]
using namespace std;
const int N = 1001;
int a[N],n,ans=0;
int main()
{
cin >> n;
for (int i = 1; i <= n; i )cin>>a[i];
sort(a+1,a+n+1);
for (int i = 1; i <= n; i ){
if(a[i]==a[i-1]) continue;
ans++;
}
cout << ans;
return 0;
}