There is an automatic door at the entrance of a factory. The door works in the following way:  when one or several people come to the door and it is closed, the door immediately opens automatically and all people immediately come inside,  when one or several people come to the door and it is open, all people immediately come inside,  opened door immediately closes in d seconds after its opening,  if the door is closing and one or several people are coming to the door at the same moment, then all of them will have enough time to enter and only after that the door will close. 

For example, if d = 3 and four people are coming at four different moments of time t_1 = 4, t_2 = 7, t_3 = 9 and t_4 = 13 then the door will open three times: at moments 4, 9 and 13. It will close at moments 7 and 12.

It is known that n employees will enter at moments a, 2·a, 3·a, ..., n·a (the value a is positive integer). Also m clients will enter at moments t_1, t_2, ..., t_{m}.

Write program to find the number of times the automatic door will open. Assume that the door is initially closed.


-----Input-----

The first line contains four integers n, m, a and d (1 ≤ n, a ≤ 10^9, 1 ≤ m ≤ 10^5, 1 ≤ d ≤ 10^18) — the number of the employees, the number of the clients, the moment of time when the first employee will come and the period of time in which the door closes.

The second line contains integer sequence t_1, t_2, ..., t_{m} (1 ≤ t_{i} ≤ 10^18) — moments of time when clients will come. The values t_{i} are given in non-decreasing order.


-----Output-----

Print the number of times the door will open.


-----Examples-----
Input
1 1 3 4
7

Output
1

Input
4 3 4 2
7 9 11

Output
4



-----Note-----

In the first example the only employee will come at moment 3. At this moment the door will open and will stay open until the moment 7. At the same moment of time the client will come, so at first he will enter and only after it the door will close. Thus the door will open one time.

```python

USER_FILENAME = "<user_code>"
import sys, json, builtins
import math, heapq, bisect, itertools, functools, collections, statistics, fractions, decimal, operator, array, random, re, string, os, pathlib
try:
    import resource as _res
except Exception:
    _res = None
from collections import Counter, defaultdict, deque, OrderedDict
from functools import lru_cache, reduce
from itertools import accumulate, permutations, combinations, product
from math import gcd, ceil, floor, sqrt
from decimal import Decimal
try:
    from typing import *
except Exception:
    pass
try:
    sys.setrecursionlimit(1_000_000)
except Exception:
    pass
try:
    import site as _site
    try:
        _sys_sites = _site.getsitepackages() if hasattr(_site, "getsitepackages") else []
        for _p in _sys_sites:
            if _p and _p not in sys.path:
                sys.path.append(_p)
    except Exception:
        pass
    try:
        _usp = _site.getusersitepackages()
        if isinstance(_usp, str):
            _usp = [_usp]
        for _p in _usp:
            if _p and _p not in sys.path:
                sys.path.append(_p)
    except Exception:
        pass
except Exception:
    pass

ns = {"__name__": "__main__"}
for _k, _v in list(globals().items()):
    if not _k.startswith("_"):
        ns[_k] = _v
_CODE = 'def solve():\n    n1, m, a, d = list(map(int, input().split()))\n    t = list(map(int, input().split()))\n    from bisect import insort\n    from math import floor\n    insort(t, a * n1)\n    pred = 0\n    k = 0\n    kpred = 0\n    n = 0\n    step = d // a + 1\n    sol = 0\n    fl = 0\n    for i in t:\n        if (i > pred):\n            if fl == 0:\n                n = (i - pred + (pred % a)) // a\n                if n != 0:\n                    k += (n // step) * step - step * (n % step == 0) + 1\n                    if k > n1:\n                        k = n1\n                        fl = 1\n                # print(k)\n                if (k * a + d >= i) and (n != 0):\n                    pred = k * a + d\n                else:\n                    pred = i + d\n                    k = floor(pred // a)\n                    sol += 1\n                # if n==0:\n                k = min(floor(pred // a), n1)\n                sol += n // step + (n % step != 0)\n            else:\n                sol += 1\n                pred = i + d\n        if i == a * n1:\n            fl = 1\n            # print(i,pred,sol,n,step,k, fl)\n    print(sol)\nsolve()'
_co = compile(_CODE, USER_FILENAME, "exec")
exec(_co, ns, ns)

```

Measured memory_bytes: 13963