N,S,B = map(int, input().split())
H = list(map(int,input().split()))
now = H[0]
s = S
for i in range(N-1):
    if now < H[i+1]:
        while now<H[i+1] and s>0:
            s -= 1
            now += B
        if now<H[i+1]:
            print("No")
            exit()
        now = H[i+1]
        s = S
    else:
        continue
print("Yes")