W, H, x, y, r = list(map(int, input().split()))

if r <= x and x <= W-r and r <= y and y <= H-r:

  print('Yes')

else:

  print('No') 
W, H, x, y, r = list(map(int, input().split()))

if x+r <= W and x-r >= 0 and y+r <= H and y-r >=0:

    print("Yes")

else:

    print("No")
W, H, x, y, r = list(map(int, input().split()))
if r <= x and x <= W - r and r <= y and y <= H - r:
    print("Yes")
else:
    print("No")

W, H, x, y, r = list(map(int, input().split()))
if x + r <= W and x - r >= 0 and y + r <= H and y - r >= 0:
    print("Yes")
else:
    print("No")

-if r <= x and x <= W - r and r <= y and y <= H - r: +if x + r <= W and x - r >= 0 and y + r <= H and y - r >= 0: