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

if(min([x, y, w - x, h - y]) >= r):

    print("Yes")

else:

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

if x < r or y < r or W - x < r or H - y < r:

	print("No")

else:

	print("Yes")

w, h, x, y, r = list(map(int, input().split()))
if min([x, y, w - x, h - y]) >= r:
    print("Yes")
else:
    print("No")

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

-w, h, x, y, r = list(map(int, input().split())) -if min([x, y, w - x, h - y]) >= r: +W, H, x, y, r = list(map(int, input().split())) +if x < r or y < r or W - x < r or H - y < r: +    print("No") +else: -else: -    print("No")