You are policeman and you are playing a game with Slavik. The game is turn-based and each turn consists of two phases. During the first phase you make your move and during the second phase Slavik makes his move.

There are $n$ doors, the $i$-th door initially has durability equal to $a_i$.

During your move you can try to break one of the doors. If you choose door $i$ and its current durability is $b_i$ then you reduce its durability to $max(0, b_i - x)$ (the value $x$ is given).

During Slavik's move he tries to repair one of the doors. If he chooses door $i$ and its current durability is $b_i$ then he increases its durability to $b_i + y$ (the value $y$ is given). Slavik cannot repair doors with current durability equal to $0$.

The game lasts $10^{100}$ turns. If some player cannot make his move then he has to skip it.

Your goal is to maximize the number of doors with durability equal to $0$ at the end of the game. You can assume that Slavik wants to minimize the number of such doors. What is the number of such doors in the end if you both play optimally?


-----Input-----

The first line of the input contains three integers $n$, $x$ and $y$ ($1 \le n \le 100$, $1 \le x, y \le 10^5$) — the number of doors, value $x$ and value $y$, respectively.

The second line of the input contains $n$ integers $a_1, a_2, \dots, a_n$ ($1 \le a_i \le 10^5$), where $a_i$ is the initial durability of the $i$-th door.


-----Output-----

Print one integer — the number of doors with durability equal to $0$ at the end of the game, if you and Slavik both play optimally.


-----Examples-----
Input
6 3 2
2 3 1 3 4 2

Output
6

Input
5 3 3
1 2 4 2 3

Output
2

Input
5 5 6
1 2 6 10 3

Output
2



-----Note-----

Clarifications about the optimal strategy will be ignored.
[{"code": "n, x, y = map(int, input().split())\na = list(map(int, input().split()))\nif (y - x >= 0):\n    ans = 0\n    for elem in a:\n        if elem <= x:\n            ans += 1\n    print((ans + 1) // 2)\nelse:\n    print(n)", "passed": true, "time": 0.49, "memory": 14212.0, "status": "done"}, {"code": "n, x, y = map(int, input().split())\na = list(map(int, input().split()))\ncnt = 0\nif x > y:\n    print(n)\nelse:\n    for i in a:\n        if i <= x:\n            cnt += 1\n    print(cnt // 2 + cnt % 2)", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "n,x,y = list(map(int,input().split()))\nb = list(map(int,input().split()))\nb.sort()\nif x>y:\n    print(n)\nelse:\n    k = sum([1 for i in b if i<=x])\n    print((k+(k%2==1))//2)\n\n", "passed": true, "time": 2.0, "memory": 14256.0, "status": "done"}, {"code": "from math import ceil\nn, x, y = list(map(int, input().split()))\nmass = list(map(int, input().split()))\ncnt = 0\nif x>y:\n    print(len(mass))\nelse:\n    for i in mass:\n        if i <= x:\n            cnt += 1\n    print(ceil(cnt/2))\n\n\n", "passed": true, "time": 0.49, "memory": 14212.0, "status": "done"}, {"code": "from math import ceil\n\nn, x, y = list(map(int, input().split()))\n\na = list(map(int, input().split()))\n\nif x > y:\n\tprint(n)\n\nif x <= y:\n\tprint(ceil(len(list([_ for _ in a if _ <= x])) / 2))\n", "passed": true, "time": 0.14, "memory": 14120.0, "status": "done"}, {"code": "def main():\n    arr=input().split()\n    n=int(arr[0])\n    x=int(arr[1])\n    y=int(arr[2])\n    if x<=y:\n        arr=input().split()\n        count=0\n        for a in range(n):\n            test=int(arr[a])\n            if test<=x:\n                count+=1\n        if count%2==1:\n            print(count//2+1)\n        else:\n            print(count//2)\n    else:\n        print(n)\nmain()\n", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}, {"code": "n,x,y=list(map(int,input().split()))\nl1=list(map(int,input().split()))\ncount1=0\ncount2=0\nfor item in l1:\n    if item<=x:\n        count1+=1\n        if item+y>x:\n            count2+=1\nif x>y:\n    print(n)\nelif x==y:\n    if count1%2==0:\n        print(count1//2)\n    else :\n        print(count1//2 +1)\nelse :\n    total=0\n    if count2%2==0:\n        total+=count2//2\n    else :\n        total+=count2//2 +1\n    print(total+(count1-count2))\n    \n", "passed": true, "time": 0.32, "memory": 14264.0, "status": "done"}, {"code": "from bisect import bisect_right\nn, x, y = list(map(int, input().split()))\nline = sorted(list(map(int, input().split())))\n\nif x > y:\n    print(n)\nelse:\n    k = bisect_right(line, x)\n    print(k//2 + k % 2)\n", "passed": true, "time": 0.23, "memory": 14312.0, "status": "done"}, {"code": "n, x, y = list(map(int, input().split()))\na = list(map(int, input().split()))\nif x > y:\n    print(n)\nelse:\n    b = 0\n    for i in a:\n        if i <= x:\n            b += 1\n    if b % 2:\n        print(b // 2 + 1)\n    else:\n        print(b // 2)\n", "passed": true, "time": 0.34, "memory": 14324.0, "status": "done"}, {"code": "import sys\n\nline = sys.stdin.readline().strip().split()\nn = int(line[0])\nx = int(line[1])\ny = int(line[2])\na = list(map(int, sys.stdin.readline().strip().split()))\nd = len(a)\ns = []\n\nif x > y:\n    print(d)\nelse:\n    j = 0\n    for i in a:\n        if i <= x:\n            j = j + 1\n    if j % 2 == 0:\n        print(j // 2)\n    else:\n        print(j // 2 + 1)", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "n, x, y = list(map(int, input().split()))\na = list(map(int, input().split()))\n\nif x > y:\n    print(n)\nelse:\n    a.sort()\n    i = 0\n    while i < n and a[i] <= x:\n        i += 1\n    print(i // 2 + i % 2)\n", "passed": true, "time": 0.21, "memory": 14092.0, "status": "done"}, {"code": "n, x, y = map(int, input().split())\nar = list(map(int, input().split()))\nif x > y:\n    print(n)\nelse:\n    num = 1\n    for i in ar:\n        if i <= x:\n            num += 1\n    print(num // 2)", "passed": true, "time": 1.37, "memory": 14300.0, "status": "done"}, {"code": "# cook your dish here\nfor _ in range(1):\n    n,x,y = map(int,input().split())\n    a = list(map(int,input().split()))\n    if x>y:\n        print(n)\n    else:\n        c=0\n        for val in a:\n            if val <= x:\n               c+=1 \n        print((c+1)//2)", "passed": true, "time": 0.14, "memory": 14320.0, "status": "done"}, {"code": "import random\n\n\ndef ii():\n    return int(input())\n\n\ndef mi():\n    return list(map(int, input().split()))\n\n\ndef li():\n    return list(mi())\n\nn,x,y = tuple(mi())\na = li()\nrandom.shuffle(a)\na = sorted(a)\nc1 = 0\nc2 = 0\nfor i in a:\n    if i <= x:\n        c1 += 1\n    if i <=y:\n        c2 +=1\nans = 0\nif x<=y:\n    ans = (c1+1) // 2\nelse:\n    ans = n\nprint(ans)\n\n\n\n", "passed": true, "time": 0.14, "memory": 14296.0, "status": "done"}, {"code": "def read(type = 1):\n    if type:\n        file = open(\"input.dat\", \"r\")\n        line = int(file.readline())\n        file.close()\n    else:\n        line = list(map(int, input().strip().split()))\n        n = line[0]\n        x = line[1]\n        y = line[2]\n        line = list(map(int, input().strip().split()))\n    return n, x, y, sorted(line, reverse=True)\n\n\ndef solve():\n    sol = 0\n    for i in range(len(a)):\n        if a[len(a)-1-i] + y > x:\n            pos = len(a)-1-i\n            pos = len(a)-1-i\n            break\n    for i in range(len(a)):\n        if a[i] <= x:\n            sol += 1\n            a[pos] += y\n            pos -= 1\n    if x > y:\n        return n\n    else:\n        return sol\n\n\nn, x, y, a = read(0)\nsol = solve()\nprint(sol)", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "import sys\ninput = sys.stdin.readline\n\nn,x,y=list(map(int,input().split()))\nA=list(map(int,input().split()))\n\nif x>y:\n    print(n)\nelse:\n    count=0\n    for a in A:\n        if a<=x:\n            count+=1\n\n    print((count+1)//2)\n        \n", "passed": true, "time": 0.19, "memory": 14296.0, "status": "done"}, {"code": "import sys\nimport math\namount, x, y = [int(s) for s in input().split()]\narray = [int(s) for s in input().split()]\ncounter = 0\nif x > y:\n    print(amount)\n    return\nelse:\n    for i in range(len(array)):\n        if array[i] - x <= 0:\n            counter += 1\nprint(math.ceil(counter / 2))", "passed": true, "time": 0.14, "memory": 14268.0, "status": "done"}, {"code": "n, x, y = list(map(int, input().split()))\na = [int(e) for e in input().split()]\nif x > y:\n    print(n)\n    return\ncnt = 0\nfor i in a:\n    if i <= x:\n        cnt += 1\nprint((cnt + 1) // 2)\n", "passed": true, "time": 0.14, "memory": 14144.0, "status": "done"}, {"code": "n,x,y=map(int,input().split())\narr=list(map(int,input().split()))\nif x<=y:\n\tc=0\n\tarr=sorted(arr)\n\tfor i in range(0,len(arr),2):\n\t\tif arr[i]<=x:\n\t\t\tc+=1\n\tprint(c)\n\treturn\n# if x==y:\n# \tc=0\n# \tfor i in range(0,len(arr)):\n# \t\tif arr[i]<=x:\n# \t\t\tc+=1\n# \tprint(c//2)\n# \treturn\nif x>y:\n\tc=0\n\tprint(n)", "passed": true, "time": 0.14, "memory": 14224.0, "status": "done"}, {"code": "n, x, y = map(int, input().split())\na = [int(j) for j in input().split()]\nnLX = 0\nfor e in a:\n    if e <= x:\n        nLX += 1\nif y >= x:\n    print((nLX + 1) // 2)\nelse:\n    print(n)", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "n,x,y=map(int,input().split())\na=list(map(int,input().split()))\nans=0\nif y<x:\n    print(n)\nelse:\n    for i in range(n):\n        if a[i]<=x:\n            ans+=1\n    print((ans+1)//2)", "passed": true, "time": 0.14, "memory": 14324.0, "status": "done"}, {"code": "def mi():\n    return list(map(int, input().split()))\n'''\n6 3 2\n2 3 1 3 4 2\n'''\nn,x,y = mi()\na = list(mi())\n\nfrom math import ceil\nle = 0\nfor i in a:\n    if i<=x:\n        le+=1\nif y>=x:\n    print(ceil(le/2))\nelse:\n    print (n)\n", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}, {"code": "import math\nn, x, y = list(map(int, input().split()))\na = [int(x) for x in input().split()]\nif x > y:\n    print(n)\nelse:\n    counter = 0\n    for i in a:\n        if x >= i:\n            counter += 1\n    print(math.ceil(counter/2))\n", "passed": true, "time": 0.14, "memory": 14212.0, "status": "done"}, {"code": "n,x,y = list(map(int, input().split()))\nm = list(map(int, input().split()))\nif(x>y):\n    print(n)\nelse:\n    s = 0\n    for i in range(n):\n        if(m[i]<=x):\n            s+=1\n    print((s+1)//2)\n", "passed": true, "time": 0.14, "memory": 14112.0, "status": "done"}]