#include <cstdio>
bool nums[200];
int ans;
int main()
{
	int n;scanf("%d",&n);
	for(int i=1,d;i<=n;++i)scanf("%d",&d),nums[d]=1;
	for(int i=1;i<=101;++i)
		ans+=nums[i];
	printf("%d",ans);
	return 0;
}