ZS the Coder is coding on a crazy computer. If you don't type in a word for a c consecutive seconds, everything you typed disappear! 

More formally, if you typed a word at second a and then the next word at second b, then if b - a ≤ c, just the new word is appended to other words on the screen. If b - a > c, then everything on the screen disappears and after that the word you have typed appears on the screen.

For example, if c = 5 and you typed words at seconds 1, 3, 8, 14, 19, 20 then at the second 8 there will be 3 words on the screen. After that, everything disappears at the second 13 because nothing was typed. At the seconds 14 and 19 another two words are typed, and finally, at the second 20, one more word is typed, and a total of 3 words remain on the screen.

You're given the times when ZS the Coder typed the words. Determine how many words remain on the screen after he finished typing everything.


-----Input-----

The first line contains two integers n and c (1 ≤ n ≤ 100 000, 1 ≤ c ≤ 10^9) — the number of words ZS the Coder typed and the crazy computer delay respectively.

The next line contains n integers t_1, t_2, ..., t_{n} (1 ≤ t_1 < t_2 < ... < t_{n} ≤ 10^9), where t_{i} denotes the second when ZS the Coder typed the i-th word.


-----Output-----

Print a single positive integer, the number of words that remain on the screen after all n words was typed, in other words, at the second t_{n}.


-----Examples-----
Input
6 5
1 3 8 14 19 20

Output
3
Input
6 1
1 3 5 7 9 10

Output
2


-----Note-----

The first sample is already explained in the problem statement.

For the second sample, after typing the first word at the second 1, it disappears because the next word is typed at the second 3 and 3 - 1 > 1. Similarly, only 1 word will remain at the second 9. Then, a word is typed at the second 10, so there will be two words on the screen, as the old word won't disappear because 10 - 9 ≤ 1.

Difficulty: interview

Starter code:

Solutions:
read = lambda: list(map(int, input().split()))
n, c = read()
t = list(read())
cnt = 1
for i in range(1, n):
    if t[i] - t[i - 1] > c:
        cnt = 1
    else:
        cnt += 1
print(cnt)


n,c = (int(i) for i in input().split())
l = list(map(int,input().split()))
ans = 1
for i in range(1,n):
    if l[i] - l[i-1] > c:
        ans = 1
    else:
        ans+=1
print(ans)

# You lost the game.

n,c = list(map(int, input().split()))
L = list(map(int, input().split()))
r = 1
for i in range(1,n):
    if L[i]-L[i-1] > c:
        r = 1
    else:
        r += 1
print(r)


n, c = list(map(int, input().split()))
cnt = last = 0
for x in map(int, input().split()):
    if x > last + c:
        cnt = 1
    else:
        cnt += 1
    last = x
print(cnt)


import sys, math
n,m = list(map(int, input().split()))
ctr = 1
z = list(map(int, input().split()))
for i in range(1, n):
    if z[i] - z[i - 1] <= m:
        ctr += 1
    else:
        ctr = 1
print(ctr)
    


n, c = list(map(int, input().split()))
t = list(map(int, input().split()))
ans = 1
for i in range(1, len(t)):
    if t[i] - t[i - 1] <= c:
        ans += 1
    else:
        ans = 1
print(ans)

n,c = map(int, input().split())
ans = 1
A = list(map(int, input().split()))
for j in range(1, n):
    if A[j] - A[j-1] > c:
        ans = 1
    else:
        ans +=1
print(ans)

n,c = map(int,input().split())
a = list(map(int,input().split()))
count = 1
for i in range(1,n):
	if((a[i] - a[i-1]) <= c):
		count+=1
	else:
		count = 1
print(count)

n,c=[int(x) for x in input().split()]
t=[int(x) for x in input().split()]
s=1
for i in range(n-1):
    if t[i+1]-t[i]<=c:
        s+=1
    else:
        s=1
print(s)

amount, c = [int(i) for i in input().split()]
row = [int(i) for i in input().split()]
last = 0
counter = 0
for i in range(amount):
	if row[i] - last > c:
		counter = 1
		last = row[i]
	else:
		counter += 1
		last = row[i]
print(counter)

#!/usr/bin/env python3
import collections


def main():
    n, c = list(map(int, input().split()))
    a = list(map(int, input().split()))

    r = 0
    p = -c
    for i in a:
        d = i - p
        if d > c:
            r = 0
        r += 1
        p = i

    print(r)


def __starting_point():
    main()

__starting_point()

n, c = map(int, input().split())
l = list(map(int, input().split()))
ans = 1
for i in range(1, n):
    if l[i] - l[i - 1] <= c:
        ans += 1
    else:
        ans = 1
print(ans)

n, c = map(int, input().split())
a = list(map(int,input().split()))
ans = 0
last = 0
for i in range(n):
    if a[i] - last > c:
        ans = 0
    ans += 1
    last = a[i]
print(ans)

n, c = list(map(int,input().split()))
w = list(map(int,input().split()))
r = 1
for i in range(1, n):
    if w[i] - w[i - 1] > c:
        r = 1
    else:
        r += 1
print(r)


N, C = list(map(int, input().split()))
T = list(map(int, input().split()))
ans = 1
for i in range(1, N):
    if T[i] - T[i-1] > C:
        ans = 1
    else:
        ans += 1
print(ans)


n,c = map(int,input().split())
arr = [int(x) for x in input().split()]
rem = 1
last = arr[0]
for i in range(1,n):
    if(arr[i]-last>c):
        rem = 1
    else:
        rem += 1
    last = arr[i]
print(rem)

from collections import defaultdict
import sys, os, math

def __starting_point():
    #n, m = list(map(int, input().split()))
    #sys.stdout.flush()
    n, c = list(map(int, input().split()))
    time = list(map(int, input().split()))
    ans = 1
    for i in range(1, n):
        if time[i] - time[i - 1] <= c:
            ans += 1
        else:
            ans = 1
    print(ans)

__starting_point()

n, c = list(map(int, input().split()))
lst = [int(x) for x in input().split()][::-1]

for i in range(len(lst)-1):
    if lst[i] - lst[i+1] > c:
        print(i+1)
        break
else:
    print(len(lst))


n, s = map(int, input().split())
sp = list(map(int, input().split()))
k = 1
for i in range(1,n):
    if sp[i] - sp[i-1] <= s: k += 1
    else: k = 1
print(k)

n, c = list(map(int, input().split()))
tt = list(map(int, input().split()))

count = 0
pred = 0
for t in tt:
  if t - pred > c: count = 0
  count += 1
  pred = t
print(count)


n, c = list(map(int, input().split()))
a = list(map(int, input().split()))

t = 1
for i in range(1, n):
	if a[i] - a[i - 1] > c:
		t = 0
	t += 1
print(t)


#!/usr/bin/env python3

from itertools import tee


def pairwise(it):
    it0, it1 = tee(it)
    next(it1)
    return list(zip(it0, it1))


def main():
    try:
        while True:
            n, c = list(map(int, input().split()))
            a = list(map(int, input().split()))
            result = 1
            for x, y in pairwise(reversed(a)):
                if x - y > c:
                    print(result)
                    break
                result += 1
            else:
                print(n)

    except EOFError:
        pass


main()


s=input().split()
n=int(s[0])
c=int(s[1])
a=input().split()
k=1
for i in range(n-1):
	if int(a[i+1])-int(a[i])<=c:
		k+=1
	else:
		k=1

print(k)

n,c=list(map(int,input().split()))
v=[int(i) for i in input().split()]
d=v[0]
m=1
for i in range(1,n):
    if(v[i]-d>c):
        m=1
    else:
        m=m+1
    d=v[i]
print(m)
    


import sys
from collections import defaultdict, Counter
import string

def main():
    n, c = [int(i) for i in input().split()]
    t = [int(i) for i in input().split()]
    words = 1
    for i, j in zip(t[:-1], t[1:]):
        if j - i > c:
            words = 1
        else:
            words += 1
    print(words)

def __starting_point():
    main()

__starting_point()