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 (0 <= x-r and x+r <= W) and (0 <= y-r and y+r <= H):

	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 (0 <= x - r and x + r <= W) and (0 <= y - r and y + r <= H):
    print("Yes")
else:
    print("No")

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