W, H, x, y, r = [int(i) for i in input().split()]

ans = "Yes"

if x - r < 0 or W < x + r: ans = "No"

if y - r < 0 or H < y + r: ans = "No"

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

print(("Yes" if 0 <= x - r and x + r <= W and 0 <= y - r and y + r <= H else "No"))

W, H, x, y, r = [int(i) for i in input().split()]
ans = "Yes"
if x - r < 0 or W < x + r:
    ans = "No"
if y - r < 0 or H < y + r:
    ans = "No"
print(ans)

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

-W, H, x, y, r = [int(i) for i in input().split()] -ans = "Yes" -if x - r < 0 or W < x + r: -    ans = "No" -if y - r < 0 or H < y + r: -    ans = "No" -print(ans) +W, H, x, y, r = list(map(int, input().split())) +print(("Yes" if 0 <= x - r and x + r <= W and 0 <= y - r and y + r <= H else "No"))