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

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

    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 = [int(i) for i in input().split()]
if x - r >= 0 and x + r <= W and y - r >= 0 and y + r <= H:
    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 = [int(i) for i in input().split()] -if x - r >= 0 and x + r <= W and y - r >= 0 and y + r <= H: +W, H, x, y, r = list(map(int, input().split())) +if r <= x <= W - r and r <= y <= H - r: