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

if x+r > W or y+r > H:

    print("No")

elif  x-r < 0 or y-r < 0:

    print("No")

else:

    print("Yes")                                   
list=input().split()

w=int(list[0])

h=int(list[1])

x=int(list[2])

y=int(list[3])

r=int(list[4])



if w>=x+r and x-r>=0:

  if h>=y+r and y-r>=0:

    print("Yes")

  else:

    print("No")

else:

  print("No")

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

list = input().split()
w = int(list[0])
h = int(list[1])
x = int(list[2])
y = int(list[3])
r = int(list[4])
if w >= x + r and x - r >= 0:
    if h >= y + r and y - r >= 0:
        print("Yes")
    else:
        print("No")
else:
    print("No")

-W, H, x, y, r = list(map(int, input().split())) -if x + r > W or y + r > H: +list = input().split() +w = int(list[0]) +h = int(list[1]) +x = int(list[2]) +y = int(list[3]) +r = int(list[4]) +if w >= x + r and x - r >= 0: +    if h >= y + r and y - r >= 0: +        print("Yes") +    else: +        print("No") +else: -elif x - r < 0 or y - r < 0: -    print("No") -else: -    print("Yes")