n,s,b=map(int,input().split()) *a,=map(int,input().split()) x = a[0] for i in a: if i <= x + z: x = max(x, i) print('Yes' if i >= a[-1] else 'No')