An X-layered kagami mochi (X ≥ 1) is a pile of X round mochi (rice cake) stacked vertically where each mochi (except the bottom one) has a smaller diameter than that of the mochi directly below it. For example, if you stack three mochi with diameters of 10, 8 and 6 centimeters from bottom to top in this order, you have a 3-layered kagami mochi; if you put just one mochi, you have a 1-layered kagami mochi.
Lunlun the dachshund has N round mochi, and the diameter of the i-th mochi is d_i centimeters. When we make a kagami mochi using some or all of them, at most how many layers can our kagami mochi have?

-----Constraints-----
 - 1 ≤ N ≤ 100
 - 1 ≤ d_i ≤ 100
 - All input values are integers.

-----Input-----
Input is given from Standard Input in the following format:
N
d_1
:
d_N

-----Output-----
Print the maximum number of layers in a kagami mochi that can be made.

-----Sample Input-----
4
10
8
8
6

-----Sample Output-----
3

If we stack the mochi with diameters of 10, 8 and 6 centimeters from bottom to top in this order, we have a 3-layered kagami mochi, which is the maximum number of layers.
[{"code": "N = int(input())\nds = []\nmochidan = 0\nfor i in range(N):\n    ds.append(int(input()))\n\nwhile ds:\n    tmp = max(ds)\n    ds = [j for j in ds if j < tmp]\n    mochidan += 1\n\nprint(mochidan)", "passed": true, "time": 0.25, "memory": 14100.0, "status": "done"}, {"code": "N=int(input())\nd=set()\nfor _ in range(N):\n  d.add(int(input()))\nprint((len(d)))\n", "passed": true, "time": 0.28, "memory": 14268.0, "status": "done"}, {"code": "N = int(input())\nint_list = []\nfor _ in range(N):\n  int_list.append(int(input()))\nint_list.sort()\nprint(len(set(int_list)))", "passed": true, "time": 0.95, "memory": 14188.0, "status": "done"}, {"code": "n = int(input())\nl = [input() for i in range(n)]\nprint((len(set(l))))\n", "passed": true, "time": 0.14, "memory": 14356.0, "status": "done"}, {"code": "N = int(input())\nd = []\nfor i in range(N):\n  d.append(int(input()))\n\ndic = {}\n\nfor i in range(N):\n  if d[i] in dic:\n    dic[d[i]] += 1\n  else:\n    dic[d[i]] = 1\n\nprint(len(dic))", "passed": true, "time": 0.31, "memory": 14244.0, "status": "done"}, {"code": "print(len(set([int(input()) for i in range(int(input()))])))", "passed": true, "time": 0.15, "memory": 14204.0, "status": "done"}, {"code": "N=int(input())\nz=[]\nfor num in range(101):\n  z.append(0)\ncounter=0\nwhile counter < N:\n  d=int(input())\n  z[d]=1\n  counter+=1\nresult=sum(z)\nprint(result)", "passed": true, "time": 0.21, "memory": 14208.0, "status": "done"}, {"code": "num = int(input())\na = []\n\nfor i in range(num):\n    n = int(input())\n    a.append(n)\n    \nmyset = set(a)\n\nlen_list = len(frozenset(myset))\n\nprint(len_list)\n", "passed": true, "time": 0.21, "memory": 14040.0, "status": "done"}, {"code": "N = int(input())\nd_list = []\nHeight = 0\nfor i in range(N):\n    d_list.append(int(input()))\nwhile d_list != []:\n    MAX_Value = max(d_list)\n    while MAX_Value == max(d_list):\n        d_list.remove(MAX_Value)\n        if d_list == [] :\n            break\n    Height +=1\nprint(Height)", "passed": true, "time": 0.95, "memory": 14296.0, "status": "done"}, {"code": "n = int(input())\na = set()\nfor _ in range(n):\n  a.add(int(input()))\nprint((len(a)))\n", "passed": true, "time": 0.3, "memory": 13980.0, "status": "done"}, {"code": "n = int(input())\nd = set()\nfor i in range(n):\n    d.add(int(input()))\nprint(len(d))", "passed": true, "time": 0.14, "memory": 14100.0, "status": "done"}, {"code": "i = input()\n\nl = []\n\nfor n in range(int(i)):\n    n = input()\n    l.append(n)\n\nl = list(set(l))\n\nprint((len(l)))\n", "passed": true, "time": 0.14, "memory": 14248.0, "status": "done"}, {"code": "n = int(input())\nlist_d = sorted([int(input()) for i in range(0, n)], reverse=True)\nlist_ans = []\nfor i in range(0, len(list_d)):\n    if list_d[i] not in list_ans:\n        list_ans.append(list_d[i])\nprint(len(list_ans))", "passed": true, "time": 0.3, "memory": 14160.0, "status": "done"}, {"code": "N=int(input())\nd = [int(input()) for i in range(N)]\n\nprint(len(set(d)))", "passed": true, "time": 0.23, "memory": 14248.0, "status": "done"}, {"code": "n = int(input())\nkey = []\nans = 0\nfor _ in range(n):\n    s = int(input())\n    if s not in key:\n        key.append(s)\n        ans += 1\nprint(ans)\n", "passed": true, "time": 0.14, "memory": 14312.0, "status": "done"}, {"code": "n = int(input())\n\nprint(\n  len(\n    set(\n      [\n        int(input()) for _ in range(n)\n      ]\n    )\n  )\n)", "passed": true, "time": 0.14, "memory": 14156.0, "status": "done"}, {"code": "import sys\ndef input(): return sys.stdin.readline().rstrip()\n\nN = int(input())\nD = []\nfor i in range(N):\n    d = int(input())\n    D.append(d)\n\nD_set = set(D)\nans = len(D_set)\n\nprint(ans)", "passed": true, "time": 0.14, "memory": 14196.0, "status": "done"}, {"code": "# https://atcoder.jp/contests/abc085/tasks/abc085_b\n# 2\u5206\u63a2\u7d22\u6728\u3092\u4f7f\u3046\u3089\u3057\u3044\u304c\u30fb\u30fb\u30fb\u30fb\u3053\u308c\u306f\u78ba\u304b\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u306f\u306a\u304f\u3001\u5b9f\u88c5\u65b9\u6cd5\u3092\u6c17\u3092\u3064\u3051\u308c\u3070\u7c21\u5358\u306b\u5b9f\u88c5\u3067\u304d\u305f\u6c17\u304c\u3059\u308b\u3002\nN = int(input())\nD = [int(input()) for _ in range(N)]\nD.sort()\ncount = 1\nfor i in range(1, len(D)):\n    if D[i] != D[i - 1]:\n        count += 1\nprint(count)\n", "passed": true, "time": 0.14, "memory": 14144.0, "status": "done"}, {"code": "from typing import List\n\n\ndef answer(n: int, d: List[int]) -> int:\n    return len(set(d))\n\ndef main():\n    n = int(input())\n    d = list(int(input()) for _ in range(n))\n    print(answer(n,d))\n\ndef __starting_point():\n    main()\n__starting_point()", "passed": true, "time": 0.15, "memory": 15008.0, "status": "done"}, {"code": "n = int(input())\nq = len(list(set([int(input()) for i in range(n)])))\nprint(q)", "passed": true, "time": 0.14, "memory": 14360.0, "status": "done"}, {"code": "#!/usr/bin/env python3\nimport sys\nsys.setrecursionlimit(10**6)\n\nn = int(input())\nd = [int(input()) for i in range(n)]\n\nprint((len(set(d))))\n", "passed": true, "time": 0.15, "memory": 14332.0, "status": "done"}, {"code": "n = int(input())\na = sorted([input() for i in range(n)])\nc = 1\nfor i in range(n - 1):\n    if a[i] < a[i + 1]:\n        c += 1\nprint(c)\n", "passed": true, "time": 0.14, "memory": 14048.0, "status": "done"}, {"code": "from sys import stdin\nn = int(stdin.readline().rstrip())\na = [0]*n\nfor x in range(n):\n   a[x] = int(stdin.readline().rstrip())\n\na.sort(reverse = True)\n\nsum = 1\n\nfor x in range(n-1):\n   if a[x] > a[x+1]:\n      sum += 1\nprint(sum)", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "n = int(input())\nd = set(list([int(input()) for i in range(n)]))\nprint((len(d)))\n", "passed": true, "time": 0.25, "memory": 14216.0, "status": "done"}, {"code": "n = int(input())\ndata = [int(input()) for i in range(n)]\nprint(len(set(data)))", "passed": true, "time": 0.14, "memory": 14328.0, "status": "done"}, {"code": "N = int(input())\nd = []\nfor i in range(N):\n  d.append(int(input()))\n\nd.sort(reverse=True)\n\nstep = 1\nfor i in range(N-1):\n  if d[i] > d[i+1]:\n    step +=1\n\nprint(step)", "passed": true, "time": 0.14, "memory": 14208.0, "status": "done"}, {"code": "num = int(input())\n\ntable  = []\nfor i in range(num):\n    table.append(int(input()))\n\nsetting = set(table)\nprint(len(setting))", "passed": true, "time": 0.14, "memory": 14356.0, "status": "done"}, {"code": "N = int(input())\nnum_list = []\nfor n in range(N):\n  num = int(input())\n  num_list.append(num)\nans = len(set(num_list))\nprint(ans)", "passed": true, "time": 0.48, "memory": 14084.0, "status": "done"}, {"code": "N = int(input())\nd = []\nfor _ in range(N):\n  d.append(int(input()))\nd.sort(reverse=True)\n\ntop = 101\nans = 0\n\nfor d_ in d:\n  if d_ < top:\n    ans += 1\n    top = d_\n\nprint(ans)", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "N = int(input())\nmoti_list = [int(input()) for i in range(N)]\n\nmoti_list.sort(reverse=True)\ntower = 1\nfor j in range(N - 1):\n    if moti_list[j] > moti_list[j + 1]:\n        tower += 1\n\nprint(tower)", "passed": true, "time": 0.15, "memory": 14100.0, "status": "done"}, {"code": "N = input()\nN = int(N)\nli = []\nfor i in range(N):\n    li.append(input())\n\nans = 0\na = []\nb = 0\nfor i in range(101):\n    a.append(i - i)\n\nfor i in range(N):\n    b = li[i]\n    b = int(b)\n    a[b] = 1\n\nfor i in range(101):\n    ans += a[i]\nprint(ans)", "passed": true, "time": 0.15, "memory": 14196.0, "status": "done"}, {"code": "n = int(input())\nst = set()\nfor i in range (0, n):\n    a = input()\n    st.add(a)\nprint(len(st))", "passed": true, "time": 0.15, "memory": 14104.0, "status": "done"}, {"code": "N = int(input())\nnums =[int(input()) for i in range(N)]\nprint(len(set(nums)))", "passed": true, "time": 1.48, "memory": 14320.0, "status": "done"}, {"code": "#85B\nn=int(input())\ndata=[]\nfor i in range(0,n):\n    data.append(int(input()))\nres=sorted(data)\nc=1\nfor j in range(1,n):\n    if res[j]!=res[j-1]:\n        c=c+1\nprint(c)", "passed": true, "time": 0.14, "memory": 14232.0, "status": "done"}, {"code": "N = int(input())\na = list(input() for i in range(N))\n\nprint(len(set(a)))", "passed": true, "time": 0.15, "memory": 14128.0, "status": "done"}, {"code": "n = int(input())\nd = [int(input()) for i in range(n)]\n\nprint(len(set(d)))", "passed": true, "time": 0.14, "memory": 14224.0, "status": "done"}, {"code": "n = int(input())\nd = set(int(input()) for i in range(n))\n\nprint((len(d)))\n", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "n = int(input())\nd = [input() for _ in range(n)]\nans = len(set(d))\nprint(ans)", "passed": true, "time": 0.29, "memory": 14336.0, "status": "done"}, {"code": "# coding: utf-8\n# Your code here!\n\nn = int(input())\nD = []\nfor i in range(n) : \n    D.append(int(input()))\nD = set(D)\n\nprint(len(D))", "passed": true, "time": 0.14, "memory": 14232.0, "status": "done"}, {"code": "n = int(input())\nd = [int(input()) for i in range(n)]\nd = sorted(d, reverse=True)\nans = 0\nlast = 101\nfor i in d:\n    if i < last:\n        ans+=1\n        last = i\nprint(ans) ", "passed": true, "time": 0.15, "memory": 14300.0, "status": "done"}, {"code": "def main():\n    n = int(input())\n    d = set(int(input()) for _ in range(n))\n    print(len(d))\n\n\nmain()", "passed": true, "time": 0.14, "memory": 14324.0, "status": "done"}, {"code": "N = int(input())\n\nList = list(int(input()) for i in range(N))\n\nprint(len(set(List)))", "passed": true, "time": 0.18, "memory": 14284.0, "status": "done"}, {"code": "N=int(input())\nd=[int(input()) for i in range(N)]\n\noriginal=[]\nfor i in d:\n    if i not in original:\n        original.append(i)\nprint((len(original)))\n", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "n = int(input())\nd = [input() for i in range(n)]\nprint(len(set(d)))", "passed": true, "time": 0.22, "memory": 14092.0, "status": "done"}, {"code": "n = int(input())\nlst = []\nfor i in range(n):\n  d = int(input())\n  lst.append(d)\nres = sorted(list(set(lst)))\nprint(len(res))", "passed": true, "time": 0.14, "memory": 14112.0, "status": "done"}, {"code": "n = int(input())\nd = []\nfor i in range(n):\n  d.append(int(input()))\n  \nprint(len(set(d)))", "passed": true, "time": 0.23, "memory": 14168.0, "status": "done"}, {"code": "n=int(input())\nn_list=[]\nfor i in range(n):\n    n_list.append(int(input()))\n\nprint(len(set(n_list)))", "passed": true, "time": 0.14, "memory": 14132.0, "status": "done"}, {"code": "N = int(input())\nd = [int(input()) for i in range(N)]\nd.sort(reverse=True)\nans = 0\nind = 100000\nfor i in range(N):\n    if d[i] < ind:\n        ans += 1\n        ind = d[i]\nprint(ans)", "passed": true, "time": 0.14, "memory": 14180.0, "status": "done"}, {"code": "N = int(input())\nA = sorted([input() for _ in range(N)])\nprint((len(set(A))))\n", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "N=int(input())\ns={int(input()) for _ in range(N)}\nprint((len(s)))\n", "passed": true, "time": 0.15, "memory": 14124.0, "status": "done"}, {"code": "n=int(input())\nd=[int(input()) for i in range(n)]\nprint(len(set(d)))", "passed": true, "time": 0.15, "memory": 14152.0, "status": "done"}, {"code": "N=int(input())\nlist=[input() for i in range(0,N)]\n\nprint(len(set(list)))", "passed": true, "time": 0.14, "memory": 14128.0, "status": "done"}, {"code": "n=int(input())\nd=[int(input()) for _ in range(n)]\nprint((len(set(d))))\n", "passed": true, "time": 0.14, "memory": 14256.0, "status": "done"}, {"code": "N = int(input())\nd = set()\nfor i in range(N):\n    a = int(input())\n    d.add(a)\nprint(len(d))", "passed": true, "time": 0.14, "memory": 14160.0, "status": "done"}, {"code": "#!/usr/bin/env python3\n\ndef main():\n    n = int(input())\n    print((len(set([int(input()) for i in range(n)]))))\n\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14056.0, "status": "done"}, {"code": "n = int(input())\nans = len(set([input() for _ in range(n)]))\nprint(ans)", "passed": true, "time": 0.14, "memory": 14120.0, "status": "done"}, {"code": "n = int(input())\nd = [int(input()) for _ in range(n)]\nprint(len(set(d)))", "passed": true, "time": 0.23, "memory": 14132.0, "status": "done"}, {"code": "def get_unique_list(seq):\n  seen = []\n  return [x for x in seq if x not in seen and not seen.append(x)]\n\nn=int(input())\na=[]\nfor i in range(n):\n  a.append(int(input()))\n\nb=get_unique_list(a)\nprint(len(b))", "passed": true, "time": 0.14, "memory": 14312.0, "status": "done"}, {"code": "N = int(input())\nD = sorted([int(input()) for _ in range(N)], reverse=True)\ncnt = 1\nfor i in range(len(D)-1):\n    if D[i] <= D[i+1]:\n        pass\n    else:\n        cnt += 1\nprint(cnt)", "passed": true, "time": 0.23, "memory": 14088.0, "status": "done"}, {"code": "n = int(input())\nl = list([])\nfor i in range(n):\n  l.append(int(input()))\n  \ns = set(l)\nprint(len(s))", "passed": true, "time": 0.2, "memory": 14100.0, "status": "done"}, {"code": "# https://atcoder.jp/contests/abc085/tasks/abc085_b\n\n\"\"\"\n\u4e0a\u306e\u307b\u3046\u304c\u9905\u304c\u5c0f\u3055\u304f\u306a\u308b\u3088\u3046\u306b\u91cd\u306d\u308b\n\u2192 \u540c\u3058\u30b5\u30a4\u30ba\u306e\u9905\u306f\u4f7f\u3048\u306a\u3044\n\n\u540c\u3058\u30b5\u30a4\u30ba\u306e\u9905\u306f1\u3064\u3060\u3051\u4f7f\u3063\u3066\uff08\u91cd\u8907\u3092\u6392\u9664\u3057\u3066\uff09\n\u5927\u304d\u3044\u3082\u306e\u304b\u3089\u91cd\u306d\u3066\u3044\u3051\u3070\u3044\u3044\n\n\u4f55\u6bb5\u91cd\u306d\u3089\u308c\u308b\u304b\n= \u4f55\u7a2e\u985e\u306e\u30b5\u30a4\u30ba\u306e\u9905\u304c\u3042\u308b\u304b\n\"\"\"\n\nn = int(input())\nmochi_set = set()\nfor i in range(n):\n    size = int(input())\n    mochi_set.add(size)\n\nprint((len(mochi_set)))\n", "passed": true, "time": 0.2, "memory": 14308.0, "status": "done"}, {"code": "n = int(input())\nd = [int(input()) for _ in range(n)]\nprint(len(set(d)))", "passed": true, "time": 0.28, "memory": 14288.0, "status": "done"}, {"code": "n=int(input())\nd=[int(input()) for i in range(n)]\nd=list(set(d))\nprint(len(d))", "passed": true, "time": 0.14, "memory": 14020.0, "status": "done"}, {"code": "print(len(set(input()for _ in range(int(input())))))", "passed": true, "time": 0.2, "memory": 14052.0, "status": "done"}, {"code": "n = int(input())\nd = []\n\nfor i in range(n):\n    d.append(int(input()))\n\nprint((len(set(d))))\n", "passed": true, "time": 0.23, "memory": 14072.0, "status": "done"}, {"code": "n=int(input())\nk=[]\nfor i in range(n):\n    d = int(input())\n    k.append(d)\nprint(len(set(k)))", "passed": true, "time": 0.15, "memory": 14140.0, "status": "done"}, {"code": "N = int(input())\n\nm = []\nfor i in range(N):\n    m.append(int(input()))\n\nm = sorted(set(m))\nprint(len(m))", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "N = int(input())\nd = []\nfor i in range(N):\n    d.append(int(input()))\ncnt = 0\nfor i in range(1,101):\n    qual = 0\n    for j in d:\n        if i == j:\n            qual = 1\n    if qual == 1:\n        cnt += 1\nprint(cnt)", "passed": true, "time": 0.15, "memory": 14152.0, "status": "done"}, {"code": "N = int(input())\nmoti_list = []\nfor i in range(N):\n    moti_list.append(int(input()))\n\nmoti_list.sort(reverse=True)\ntower = 1\nfor j in range(N - 1):\n    if moti_list[j] > moti_list[j + 1]:\n        tower += 1\n\nprint(tower)", "passed": true, "time": 0.15, "memory": 14200.0, "status": "done"}, {"code": "N = int(input())\nd = [int(input()) for i in range(N)]\n\nl = []\nfor i in range(N):\n  if d[i] not in l:\n    l.append(d[i])\n    \nprint(len(l))", "passed": true, "time": 0.22, "memory": 14148.0, "status": "done"}, {"code": "N = int(input())\n\nd=[]\nfor i in range(N):\n\td.append(int(input()))\n\ndset = set(d)\nprint(len(dset))", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "n = int(input())\nprint((len(set(list([int(input()) for i in range(n)])))))\n", "passed": true, "time": 0.22, "memory": 14272.0, "status": "done"}, {"code": "N = int(input())\nD = []\nfor i in range(N):\n    D.append(int(input()))\n\ncount = 0\npreMax = 0\nfor i in range(N):\n    if len(D) == 0:\n        break\n    if preMax != max(D):\n        count += 1\n        preMax = max(D)\n    D.remove(max(D))\n\nprint(count)", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "N = int(input())\nd = {}\ndupli = 0\nfor _ in range(N):\n  i = input()\n  if i in d:\n    d[i] += 1\n    dupli += 1\n  else:\n    d[i] = 0\nprint(str(N-dupli))", "passed": true, "time": 0.14, "memory": 14292.0, "status": "done"}, {"code": "n = int(input())\nli = []\nfor i in range(n):\n    li.append(int(input()))\nli.sort(reverse=True)\n\ncnt = 1\nfor i in range(n-1):\n    if li[i] > li[i+1]:\n        cnt += 1\n\nprint(cnt)", "passed": true, "time": 0.14, "memory": 14320.0, "status": "done"}, {"code": "N=int(input())\nd=[int(input()) for _ in range(N)]\nprint((len(set(d))))\n", "passed": true, "time": 0.16, "memory": 14216.0, "status": "done"}, {"code": "N = int(input())\nd = []\nfor i in range(0,N):\n  d += [int(input())]\n\nd.sort(reverse=True)\n\nans = 0\n\nx = max(d)+1\nfor i in range(0,N):\n  \n  if d[i] < x:\n    ans += 1\n    x = d[i]\n\nprint(ans)", "passed": true, "time": 0.14, "memory": 14120.0, "status": "done"}, {"code": "N = int(input())\nlst = []\n\nfor i in range(N):\n   lst.append(input())\n\nprint(len(set(lst)))", "passed": true, "time": 0.14, "memory": 14280.0, "status": "done"}, {"code": "n = int(input())\ns = [int(input()) for i in range(n)]\nprint(len(list(set(s))))", "passed": true, "time": 0.14, "memory": 14260.0, "status": "done"}, {"code": "N = int(input())\nd_lst = []\nD_lst = []\ncnt = 0\nfor i in range(N):\n    d = int(input())\n    d_lst.append(d)\n\nfor j in range(max(d_lst)+1):\n    D = d_lst.count(j)\n    D_lst.append(D)\n    if D == 0:\n        pass\n    else:\n        cnt += 1\nprint(cnt)", "passed": true, "time": 0.15, "memory": 14280.0, "status": "done"}, {"code": "N = int(input())\nd = [int(input()) for _ in range(N)]\nd.sort()\n\nans = N\nfor i in range(N-1):\n  if d[i] == d[i+1]:\n    ans -= 1\n    \nprint(ans)", "passed": true, "time": 0.14, "memory": 14076.0, "status": "done"}, {"code": "n = int(input())\nprint(len(set([int(input()) for i in range(n)])))", "passed": true, "time": 0.14, "memory": 14152.0, "status": "done"}, {"code": "n = int(input())\nD = []\nfor _ in range(n):\n    d = int(input())\n    D += [d]\nprint(len(set(D)))", "passed": true, "time": 0.27, "memory": 14264.0, "status": "done"}, {"code": "n = int(input())\nd = list()\nans = 0\nfor i in range(n):\n    d.append(int(input()))\n    if d[i] not in d[:i]:\n        ans += 1\n\nprint(ans)", "passed": true, "time": 0.17, "memory": 14112.0, "status": "done"}, {"code": "N = int(input())\n\nList = sorted(list(set(list(int(input()) for i in range(N)))))\n\nprint((len(List)))\n\n", "passed": true, "time": 0.18, "memory": 14224.0, "status": "done"}, {"code": "N = int(input())\nd = []\nfor i in range(N):\n  d.append(int(input()))\n\nnum = [0]*(max(d)+1)\nfor i in range(N):\n  num[d[i]] +=1\n\nres = 0\n\nfor i in range(max(d)+1):\n  if num[i]:\n    res += 1\n\nprint(res)", "passed": true, "time": 0.21, "memory": 14160.0, "status": "done"}, {"code": "N=int(input())\nD = []\nfor _ in range(N):\n    d = int(input())\n    D.append(d)\n\nD_num=list(set(D))\nprint(len(D_num))", "passed": true, "time": 0.22, "memory": 14104.0, "status": "done"}, {"code": "n = int(input())\nd = []\nfor i in range(n):\n    d.append(int(input()))\n\nprint(len(set(d)))", "passed": true, "time": 0.14, "memory": 14076.0, "status": "done"}, {"code": "N = int(input())\nlist1 = []\nfor i in range(N):\n    list1.append(int(input()))\n\nset1 = set(list1)\nans = len(set1)\nprint(ans)\n", "passed": true, "time": 0.14, "memory": 14244.0, "status": "done"}, {"code": "n = int(input())\nd = []\nfor num in range(n):\n  i = int(input())\n  d.append(i)\nsd = set(d)\nprint(len(sd))", "passed": true, "time": 0.14, "memory": 14088.0, "status": "done"}, {"code": "#!/user/bin/env pypy3\nimport sys\nfrom typing import List\n\n\ndef fast_input():\n    return sys.stdin.readline()[:-1]\n\n\ndef solve(mochi_list: List[int]) -> int:\n    sorted_mochi_list = sorted(mochi_list)\n    kagamimochi = set(sorted_mochi_list)\n    return len(kagamimochi)\n\n\ndef main():\n    n = int(fast_input())\n    d = []\n    for i in range(n):\n        d.append(int(fast_input()))\n    result = solve(d)\n    print(result)\n\n\nmain()\n", "passed": true, "time": 0.15, "memory": 15236.0, "status": "done"}, {"code": "n = int(input())\nprint(len(set(map(int, [input() for i in range(n)]))))", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}, {"code": "def kagami_mochi():\n    n = int(input())\n    d = []\n    for _ in range(n):\n        d.append(int(input()))\n    d.sort()\n    d_unique = list(set(d))\n    print(len(d_unique))\ndef __starting_point():\n    kagami_mochi()\n__starting_point()", "passed": true, "time": 0.14, "memory": 14196.0, "status": "done"}, {"code": "N = int(input())\nd = list([0]*N)\nfor i in range(N):\n    d[i] = int(input())\nd = set(d)\nprint(len(d))", "passed": true, "time": 0.14, "memory": 14248.0, "status": "done"}, {"code": "N=int(input())\nd=[input() for i in range(N)]\ndef ans085(N:int, d:str):\n    d=map(int,d)\n    return(len(set(d)))\nprint(ans085(N,d))", "passed": true, "time": 0.14, "memory": 14292.0, "status": "done"}]