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

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

    print("Yes")

else:

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

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

    print('Yes')

else:

    print('No')

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

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

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