
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int N = Integer.parseInt(br.readLine());
		int[] d = new int[N];
		// 初期化
		for (int i = 0; i < N; i++) {
			d[i] = Integer.parseInt(br.readLine());
		}

		// バケット( 100 < bで)
		int[] b = new int[110];
		int count = 0;
		for (int i = 0; i < N; i++) {
			// バケットを１で埋める
			b[d[i]]++;
		}

		for (int i = 1; i <= 100;i++) {
			if (b[i] != 0) {
				count++;
			}
		}

		System.out.println(count);
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int N = Integer.parseInt(br.readLine());
		int[] d = new int[N];
		// 初期化
		for (int i = 0; i < N; i++) {
			d[i] = Integer.parseInt(br.readLine());
		}

		// バケット( 100 < bで)
		int[] b = new int[110];
		int count = 0;
		for (int i = 0; i < N; i++) {
			// バケットを１で埋める
			b[d[i]]++;
		}

		for (int i = 1; i <= 100;i++) {
			if (b[i] != 0) {
				count++;
			}
		}

		System.out.println(count);
	}

} Main public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int N = Integer.parseInt(br.readLine());
		int[] d = new int[N];
		// 初期化
		for (int i = 0; i < N; i++) {
			d[i] = Integer.parseInt(br.readLine());
		}

		// バケット( 100 < bで)
		int[] b = new int[110];
		int count = 0;
		for (int i = 0; i < N; i++) {
			// バケットを１で埋める
			b[d[i]]++;
		}

		for (int i = 1; i <= 100;i++) {
			if (b[i] != 0) {
				count++;
			}
		}

		System.out.println(count);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int N = Integer.parseInt(br.readLine());
		int[] d = new int[N];
		// 初期化
		for (int i = 0; i < N; i++) {
			d[i] = Integer.parseInt(br.readLine());
		}

		// バケット( 100 < bで)
		int[] b = new int[110];
		int count = 0;
		for (int i = 0; i < N; i++) {
			// バケットを１で埋める
			b[d[i]]++;
		}

		for (int i = 1; i <= 100;i++) {
			if (b[i] != 0) {
				count++;
			}
		}

		System.out.println(count);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int N = Integer.parseInt(br.readLine()); N Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br int[] d = new int[N]; d new int[N] N for (int i = 0; i < N; i++) {
			d[i] = Integer.parseInt(br.readLine());
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			d[i] = Integer.parseInt(br.readLine());
		} {
			d[i] = Integer.parseInt(br.readLine());
		} d[i] = Integer.parseInt(br.readLine()) d[i] d i Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br int[] b = new int[110]; b new int[110] 110 int count = 0; count 0 for (int i = 0; i < N; i++) {
			// バケットを１で埋める
			b[d[i]]++;
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			// バケットを１で埋める
			b[d[i]]++;
		} {
			// バケットを１で埋める
			b[d[i]]++;
		} b[d[i]]++ b[d[i]] b d[i] d i for (int i = 1; i <= 100;i++) {
			if (b[i] != 0) {
				count++;
			}
		} int i = 1; int i = 1; i 1 i <= 100 i 100 i++ i++ i {
			if (b[i] != 0) {
				count++;
			}
		} {
			if (b[i] != 0) {
				count++;
			}
		} if (b[i] != 0) {
				count++;
			} b[i] != 0 b[i] b i 0 {
				count++;
			} count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int N = Integer.parseInt(br.readLine());
		int[] d = new int[N];
		// 初期化
		for (int i = 0; i < N; i++) {
			d[i] = Integer.parseInt(br.readLine());
		}

		// バケット( 100 < bで)
		int[] b = new int[110];
		int count = 0;
		for (int i = 0; i < N; i++) {
			// バケットを１で埋める
			b[d[i]]++;
		}

		for (int i = 1; i <= 100;i++) {
			if (b[i] != 0) {
				count++;
			}
		}

		System.out.println(count);
	}

} public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int N = Integer.parseInt(br.readLine());
		int[] d = new int[N];
		// 初期化
		for (int i = 0; i < N; i++) {
			d[i] = Integer.parseInt(br.readLine());
		}

		// バケット( 100 < bで)
		int[] b = new int[110];
		int count = 0;
		for (int i = 0; i < N; i++) {
			// バケットを１で埋める
			b[d[i]]++;
		}

		for (int i = 1; i <= 100;i++) {
			if (b[i] != 0) {
				count++;
			}
		}

		System.out.println(count);
	}

} Main

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int N = Integer.parseInt(br.readLine());
		int[] d = new int[N];
		// 初期化
		for (int i = 0; i < N; i++) {
			d[i] = Integer.parseInt(br.readLine());
		}

		// バケット( 100 < bで)
		int[] b = new int[110];
		int count = 0;
		for (int i = 0; i < N; i++) {
			// バケットを１で埋める
			b[d[i]]++;
		}

		for (int i = 1; i <= 100;i++) {
			if (b[i] != 0) {
				count++;
			}
		}

		System.out.println(count);
	}

}
