w,h,x,y,r = list(map(int, input().split()))

if r <= x <= w-r and r <= y <= h-r:

  print('Yes')

else:

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



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

    print("Yes")

else:

    print("No")



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

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

-w, h, x, y, r = list(map(int, input().split())) -if r <= x <= w - r and r <= y <= h - r: +W, H, x, y, r = list(map(int, input().split())) +if r <= x <= W - r and r <= y <= H - r: