Problem:
Circle in a Rectangle Write a program which reads a rectangle and a circle, and determines whether the circle is arranged inside the rectangle. As shown in the following figures, the upper right coordinate $(W, H)$ of the rectangle and the central coordinate $(x, y)$ and radius $r$ of the circle are given.     Input Five integers $W$, $H$, $x$, $y$ and $r$ separated by a single space are given in a line. Output Print "Yes" if the circle is placed inside the rectangle, otherwise "No" in a line. Constraints  $ -100  \leq x, y \leq 100$  $ 0  < W, H, r \leq 100$  Sample Input 1 5 4 2 2 1 Sample Output 1 Yes Sample Input 2 5 4 2 4 1 Sample Output 2 No

Solution (Python):
w, h, x, y, r = map(int, input().split())

if x - r >= 0 and x + r <= w:
	if y - r >= 0 and y + r <= h:
		print("Yes")
	else:
		print("No")
else:
	print("No")

Solution (Python):
while True:
    W, H, x, y, r = map(int, input().split())
    if W > 0 and W <= 100:
        if H > 0 and H <= 100:
            if x >= -100 and x <= 100:
                if y >= -100 and y <= 100:
                    if r > 0 and r <= 100:
                        break
         
if x+r <= W and x-r >= 0 and y+r <= H and y-r >= 0:
    print("Yes")
else :
    print("No")

Solution (Python):
w, h, x, y, r = map(int, input().split())
if(x < r or y < r or x + r > w or y + r > h):
    print("No")
else:
    print("Yes")

Solution (Python):
W, H, x, y, r = map(int, input().split())
a = 'Yes'
if x < r or W - x < r:
    a = 'No'
if y < r or H - y < r:
    a = 'No'

print(a)

Solution (Python):
W, H, x, y, r = [int(t) for t in input().split()]
if (x - r) < 0 or W < (x + r) or (y - r) < 0 or H < (y + r) :
    print('No')
else :
    print('Yes')

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

if x - r < 0 or y - r < 0 or x + r > W or y + r > H:
    print('No')
else:
    print('Yes')

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

Solution (Python):


if __name__=='__main__':
    W, H, x, y, r = map(int, raw_input().split())
    print 'Yes' if (x >= r and x <= W-r) and (y >= r and y <= H-r) else 'No'

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

Solution (Python):
l = input().split()

W = int(l[0])
H = int(l[1])
x = int(l[2])
y = int(l[3])
r = int(l[4])

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

Solution (Python):
W, H, x, y, r = 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')

Solution (Python):
lis = [int(x) for x in input().split()]
if lis[2]-lis[4] < 0 or lis[2]+lis[4] > lis[0] :
    print("No")
elif lis[3]-lis[4] < 0 or lis[3]+lis[4] > lis[1]:
    print("No")
else:
    print("Yes")

Solution (Python):
w,h,x,y,r=map(int,input().split())

a=x-r
ap=x+r

b=y-r
bp=y+r
if a<0 or ap>w or b<0 or bp>h:
	print('No')
else:
	print('Yes')

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

Solution (Python):
w,h,x,y,r=map(int,input().split())
print("Yes" if x+r<=w and x-r>=0 and y+r<=h and y-r>=0 else "No")

Solution (Python):
a, b, c, d, f = input().split()
lw = int(a)
lh = int(b)
x = int(c)
y = int(d)
r = int(f)

if x - r >= 0 and x + r <= lw:
    if y - r >= 0 and y + r <= lh:
        print("Yes")
    else:
        print("No")
else:
    print("No")

Solution (Python):
W, H, x, y, r = map(int,input().split())

right =  x + abs(r)
left = x - abs(r)
top = y + abs(r)
bottom = y - abs(r)

if right <= W and left >= 0 and top <= H  and bottom >= 0:
  print("Yes")
else:
  print("No")

Solution (Python):
w, h, x, y, r= map(int, input().split())
if r <= x and x <= w - r and r <= y and y <= h - r:
  print("Yes")
else:
  print("No")

Solution (Python):


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

if r<=x<=W-r and r<=y<=H-r:
       print('Yes')
else:
    print('No')

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

Solution (Python):
nums = list(map(int, input().split(" ")))
W = nums[0]
H = nums[1]
x = nums[2]
y = nums[3]
r = nums[4]

if r*2 <= H and r*2 <= W and x >= r and (W-r) >= x and y >= r and (H-r) >= y:
	print("Yes")
else:
	print("No")

Solution (Python):
n = list(map(int, input().split()))

if n[2] + n[4] > n[0] or n[2] - n[4] < 0:
    print("No")
elif n[3] + n[4] > n[1] or n[3] - n[4] < 0:
    print('No')
else:
    print('Yes')

Solution (Python):
def main(argv):
    w = argv[0]
    h = argv[1]
    x = argv[2]
    y = argv[3]
    r = argv[4]

    if 0 <= x - r  and x + r <= w and 0 <= y - r and y + r <= h:
        print('Yes')
    else:
        print('No')
        
if '__main__' == __name__:
    try:
        while True:
            main(list(map(int, input().strip().split(' '))))
    except EOFError:
        pass

Solution (Python):





str_in = raw_input()
int_in = map(int, str_in.split())

rect_W = int_in[0]
rect_H  = int_in[1]
circle_x  = int_in[2]
circle_y = int_in[3]
circle_r = int_in[4]

circle_x_max = circle_x + circle_r
circle_x_min = circle_x - circle_r
circle_y_max = circle_y + circle_r
circle_y_min = circle_y - circle_r

if circle_x_max <= rect_W:
	if circle_x_min >= 0:
		if circle_y_max <= rect_H: 
			if circle_y_min >= 0:
				print ('Yes')
				exit()
print ('No')

Solution (Python):
Ns = list(map(int,input().split()))
if (Ns[2]- Ns[4] >= 0) and (Ns[2] + Ns[4] <= Ns[0]) and (Ns[3] - Ns[4] >= 0) and (Ns[3] + Ns[4] <= Ns[1]):
    print('Yes')
else:
    print('No')

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

Solution (Python):
w,h,x,y,r = 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")

Solution (Python):





elements = input().split()
w = int(elements[0])
h = int(elements[1])
x = int(elements[2])
y = int(elements[3])
r = int(elements[4])

if x<=0 or y<=0:
    print("No")

elif x>=r and y>=r and x+r<=w and y+r<=h:
        print("Yes")
else:
    print("No")

Solution (Python):
n=input().split()
w=int(n[0])
h=int(n[1])
x=int(n[2])
y=int(n[3])
r=int(n[4])
if (r <= x) & (x + r <= w) & (r <= y) & (r + y <= h):
   print("Yes")
else:
   print("No")

Solution (Python):
W,H,x,y,r = map(int,raw_input().split())
if x < 0 or y < 0 or (x-r) < 0 or (y-r) < 0:
    print "No"
elif x > W or y > H:
    print "No"
elif (x - r) > W or (y - r) > H:
    print "No"
elif x == W and r!=0 or y == H and r!=0:
    print "No"
else:
    print "Yes"

Solution (Python):
W,H,x,y,r = map(int,input().split())

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

Solution (Python):
W,H,x,y,r = map(int,input().split())

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

Solution (Python):
W,H,x,y,r = map(int,input().split())

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

Solution (Python):
input_line = raw_input()
temp_list = input_line.split()
w = int(temp_list[0])
h = int(temp_list[1])
x = int(temp_list[2])
y = int(temp_list[3])
r = int(temp_list[4])
 
if x >= r and y >=  r and (w-x) >= r and (h-y) >= r:
  print("Yes")
else:
  print("No")

Solution (Python):
width,height,x,y,r = map(int, input().split())

if x - r < 0:
    result = "No"

elif y - r < 0:
    result = "No"

elif x + r > width:
    result = "No"

elif y + r > height:
    result = "No"

else:
    result = "Yes"	

print(result)

Solution (Python):
W, H, x, y, r = 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")

Solution (Python):


a = list(map(int, input().split()))
if(a[4] <= a[2]) & (a[4] <= a[3]) & (a[2] <= a[0] - a[4]) & (a[3] <= a[1] - a[4]):
    print('Yes')
else:
    print('No')

Solution (Python):
w, h, x, y, r = 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")

Solution (Python):
s = input()
ss = s.split(" ")
arg = [int(sss) for sss in ss]
e = arg[0] >= arg[2] + arg[4] and arg[1] >= arg[3] + arg[4] and arg[2] >= arg[4] and arg[3] >= arg[4]
print("Yes" if e else "No")

Solution (Python):
W,H,x,y,r=map(int,input().split())

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

Solution (Python):
def in_rectangle(w,h,x,y,r):
    if (0<=x-r<=w) and (0<=y-r<=h) and (0<=x+r<=w) and (0<=y+r<=h):
        return True
    else:
        return False
w,h,x,y,r=map(int,input().split())
if (in_rectangle(w,h,x,y,r)==True):
    print("Yes")
else:
    print("No")

Solution (Python):
W,H,x,y,r = tuple(int(n) for n in input().split())

left = x-r >= 0
right = x+r <= W
top = y+r <= H
bottom = y-r >= 0

if left*right*top*bottom == 1:
    print("Yes")
else:
    print("No")

Solution (Python):
w,h,x,y,r = map(int,input().split())
print(['No','Yes'][(r<=x<=w-r)*(r<=y<=h-r)])

Solution (Python):
w,h,x,y,r = map(int,input().split())
print(['No','Yes'][r<=x<=w-r and r<=y<=h-r])

Solution (Python):
w,h,x,y,r=[int(x) for x in input().split()]
if x > w-r or y > h-r or x < r or y < r:
    print("No")
else:
    print("Yes")

Solution (Python):
w,h,x,y,r=[int(x) for x in input().split()]
if x > w-r or y > h-r or x-r<0 or y-r<0:
    print("No")
else:
    print("Yes")

Solution (Python):
W,H,x,y,r = map(int,input().split())

if x-r < 0:
    print("No")
elif x + r > W:
    print("No")
elif y-r < 0:
    print ("No")
elif y+r > H:
    print("No")
else:
    print("Yes")

Solution (Python):
w,h,x,y,r = map(int,input().split())
w -= r
h -= r
if x <= w and x >= r and y <= h and y >= r:
    print("Yes")
else :
    print("No")

Solution (Python):
(W,H,x,y,r)=map(int,raw_input().split())
if r<=x and r<=y and x<=W-r and y<=H-r : print "Yes"
else : print "No"

Solution (Python):
w,h,x,y,r = map(int,input().split())
w = w-r
h = h-r
if (r<=x and x<=w and r<=y and y<=h):
    print('Yes')
else:
    print('No')

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

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

Solution (Python):
W, H, x, y, r = map(int, input().split())
W -= r
H -= r
if 0 <= x and x <= W and 0 <= y and y <= H:
    print('Yes')
else:
    print('No')

Solution (Python):
W, H, x, y, r = map(int, input().split())

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

    print("Yes")

else:
    print("No")

Solution (Python):
W, H, x, y, r = map(int, input().split())

if r <= x and x <= W -r and r <= y and y<= H -r:

    print("Yes")

else:
    print("No")

Solution (Python):
W,H,x,y,r = map(int,input().split())

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

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

Solution (Python):
W, H, x, y, r = map(int, input().split())
checker = [False, False, False, False, False]
checker[0] = (2*r) <= W and (2*r) <= H
checker[1] = x >= r
checker[2] = (x+r) <= W
checker[3] = y >= r
checker[4] = (y+r) <= H
if all(checker):
    print("Yes")
else:
    print("No")

Solution (Python):
w,h,x,y,r = map(int, input().split())

a = True

if x < r or w - r < x :
    a = False

if y < r or h - r < y :
    a = False


if a:
    print("Yes")
else:
    print("No")

Solution (Python):



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

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

Solution (Python):
W,H,x,y,r = map(int,input().split())
ok = 1
if x < r or W - x <r :
 ok = False
if y < r or H - y < r :
 ok = False
print('Yes') if ok else print('No')

Solution (Python):
W, H, x, y, r = map(int, input().split())

if r <= x and x <= (W - r) and r <= y and y <= (H - r):
    print("Yes")

else:
    print("No")

Solution (Python):
W, H, x, y, r = map(int, input().split())

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

else:
    print("No")

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

Solution (Python):

"""
Created on Tue Apl 30 19:23:25 2018

@author: Fujiichang
"""

if __name__ == "__main__":
    value = input().split()
    W = int(value[0])
    H = int(value[1])
    x = int(value[2])
    y = int(value[3])
    r = int(value[4])

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

Solution (Python):
w, h, x, y, r = map(int, input().split())

if 0 <= (x-r) and (x+r) <= w:
    if 0 <= (y-r) and (y+r) <= h:
        print("Yes")
        exit()
print("No")

Solution (Python):
list = [int(i) for i in input().split()]
if list[4] <= list[2] and list[2] <= list[0] - list[4] and list[4] <= list[3] and list[3] <= list[1]-list[4]:
    print("Yes")
else:
    print("No")

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

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

Solution (Python):
w,h,x,y,r = map(int,input().split())
if 0 < x <= (w - r) and 0 < y <= (h - r):
    print("Yes")
else:
    print("No")

Solution (Python):
line = input().split(" ")
w = int(line[0])
h = int(line[1])
x = int(line[2])
y = int(line[3])
r = int(line[4])
if x - r < 0:
    print("No")
elif w < x + r:
    print("No")
elif y - r < 0:
    print("No")
elif h < y + r:
    print("No")
else:
    print("Yes")

Solution (Python):
w, h, x, y, r = [int(i) for i in input().split(' ')]

top = y + r
bottom = y - r
left = x - r
right = x + r

if h >= top and bottom >= 0 and w >= right and left >= 0:
    print('Yes')
else:
    print('No')

Solution (Python):
w,h,x,y,r=map(int, input().split())
if r<=x and r+x<=w and r<=y and r+y<=h:
    print('Yes')
else:
    print('No')

Solution (Python):
w,h,x,y,r=map(int,input().split())
if x<r or y<r or x+r>w or y+r>h:
    print("No")
else:
    print("Yes")

Solution (Python):
w, h, x, y, r = [int(i) for i in input().split()]
print("Yes" if 0 <= x - r and x + r <= w and 0 <= y - r and y + r <= h else "No")

Solution (Python):
w, h, x, y, r = [int(i) for i in input().split()]
print("Yes" if 0 <= x - r and x + r <= w and 0 <= y - r and y + r <= h else "No")

Solution (Python):
def numinput():
    a = input().split()
    for i in range(len(a)):
        a[i] = int(a[i])
    return a

def main():
    a = numinput()
    W = a[0]; H = a[1]; x = a[2]; y = a[3]; r = a[4]
    if x >= r and x + r <= W and y >= r and y + r <= H: print("Yes")
    else: print("No")

if __name__ == "__main__":
    main()

Solution (Python):
args = input()

list_str = args.split(" ")

W = int(list_str[0])
H = int(list_str[1])
x = int(list_str[2])
y = int(list_str[3])
r = int(list_str[4])

flg1 = False
flg2 = False

if 0 <= (x - r) and (x + r) <= W:
    flg1 = True

    if 0 <= (y - r) and (y + r) <= H:
        flg2 = True

if flg1 and flg2:
    print('Yes')
else:
    print('No')

Solution (Python):
tmp=input().split()
W=int(tmp[0])
H=int(tmp[1])
x=int(tmp[2])
y=int(tmp[3])
r=int(tmp[4])
Flag=True
if x-r<0 or x+r>W or y-r<0 or y+r>H:
    Flag=False
if Flag:
    print('Yes')
else:
    print('No')

Solution (Python):
w,h,x,y,r = map(int,input().split())
if x >= r and x <= w-r and y >= r and y <= h-r:
    print("Yes")
else:
    print("No")

Solution (Python):
w,h,x,y,r = 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')

Solution (Python):
W, H, x, y, r = 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')

Solution (Python):
W, H, x, y, r = map(float, input().split())

if (r <= x) and (x <= W-r) and (r <= y) and (y <= H-r):
    print('Yes')
else:
    print('No')

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

Solution (Python):
p=[int(i) for i in input().split()]
if p[4]<=p[2]<=p[0]-p[4] and p[4]<=p[3]<=p[1]-p[4]:print("Yes")
else: print("No")

Solution (Python):
W, H ,x, y, r = map(int,input().split())
if r <= x and x <= W-r and r <= y and y <= H-r:
    print('Yes')
else:print('No')

Solution (Python):
a,b,c,d,e=input().split()
w = int(a)
h = int(b)
x = int(c)
y = int(d)
r = int(e)
if y + r>h:
	print("No")
elif x + r>w:
	print("No")
elif x - r<0:
	print("No")
elif y - r<0:
	print("No")
else:
	print("Yes")

Solution (Python):
W,H,x,y,r=map(int,input().split())
if min([x,y])>=r and x<=(W-r) and y<=(H-r):
    print("Yes")
else:
    print("No")

Solution (Python):


X = map(int, raw_input().split())

W = X[0]
H = X[1]
x = X[2]
y = X[3]
r = X[4]

if x >= r:
   if y >= r:
      if W >= x+r:
         if H>= y+r:
            print('Yes')
         else:
            print('No')
      else:
         print('No')
   else:
      print('No')
else:
   print('No')

Solution (Python):
W,H,X,Y,R=map(int,input().split())
ok=True
if X<R or W-R<X:
    ok=False
if Y<R or H-R<Y:
    ok=False
if ok:
    print("Yes")
else:
    print("No")

Solution (Python):
W, H, x, y, r = 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")

Solution (Python):
arr = list(map(int, input().split()))

W = arr[0]
H = arr[1]
x = arr[2]
y = arr[3]
r = arr[4]

top = y + r
bottom = y - r
right = x + r
left = x - r

if top <= H and bottom >= 0 and right <= W and left >= 0:
	print("Yes")
else:
	print("No")

Solution (Python):
W,H,x,y,r = [int(x) for x in input().split()]
if x-r >= 0 and x+r <= W and y-r >= 0 and y+r <= H:
    print("Yes")
else:
    print("No")

Solution (Python):
import sys

if __name__ == '__main__':
    w, h, x, y, r = map(int, sys.stdin.read().split())
    if x - r < 0 or x + r > w or y - r < 0 or y + r > h:
        print "No"
    else:
        print "Yes"

Solution (Python):
W, H, x, y, r = 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")

Solution (Python):
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")

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

Solution (Python):
W,H,x,y,r = 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")

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

Solution (Python):
W,H,x,y,r=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")

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

Solution (Python):
k=input().split()
W=int(k[0])
H=int(k[1])
x=int(k[2])
y=int(k[3])
r=int(k[4])

if ((x>=r)and(W-x>=r))and ((y>=r)and(H-y>=r)):
    print("Yes")
else:
    print("No")

Solution (Python):
W,H,x,y,r = 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')

Solution (Python):
w,h,x,y,r=map(int,input().split())
if x-r>=0 and x+r<=w:
    if y-r>=0 and y+r<=h:
        print('Yes')
    else:
        print('No')
else:
    print('No')

Solution (Python):
W, H, x, y, r = map(int, input().split())

if (W-r-x) < 0 or (x-r) < 0:
    print("No")
elif (H-r-y) < 0 or (y-r) < 0:
    print("No")
else:
    print("Yes")

Solution (Python):


a = [int(i) for i in input().rstrip().split()]
rectangle = [a[0], a[1]]
circleCenter = [a[2], a[3]]
circleRadius = a[4]

if a[2] - a[4] >= 0 and a[2] + a[4] <= a[0]:
    if a[3] - a[4] >= 0 and a[3] + a[4] <= a[1]:
        print('Yes')
    else:
        print('No')
else:
    print('No')

Solution (Python):
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')

Solution (Python):



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

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

Solution (Python):
w, h, x, y, r = input().split()
w = int( w )
h = int( h )
x = int( x )
y = int( y )
r = int( r )
if r <= x <= w - r and r <= y <= h - r:
    print( "Yes" )
else:
    print( "No" )

Solution (Python):
def solve(line):

    w=line[0]
    h=line[1]
    x=line[2]
    y=line[3]
    r=line[4]
    if ( r <= x and x <= w - r ) and ( r <= y and y <= h - r ) :
        print("Yes")
    else:
        print("No")
 

def answer():
    s = input().split()
    line = list(map(int, s))
    
    solve(line)

if __name__ =='__main__':
    answer()

Solution (Python):
W,H,X,Y,R=map(int,input().split())
ok=True
if X<R or W-R<X:
    ok=False
if Y<R or H-R<Y:
    ok=False
if ok:
    print("Yes")
else:
    print("No")

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

Solution (Python):
def on_line(right, n, r):
    return 0 <= (n-r) <= (n+r) <= right

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

if on_line(W, x, r) and on_line(H, y, r):
    print("Yes")
else:
    print("No")

Solution (Python):
W, H, x, y, r = [int(w) for w in input().split()]
yes = (0 <= x - r and x + r <= W and 0 <= y - r and y + r <= H)
print('Yes' if yes else 'No')

Solution (Python):
W,H,x,y,r = 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")

Solution (Python):
w,h,x,y,r=map(int,raw_input().split())
if x-r>=0 and y-r>=0 and x+r<=w and y+r<=h:
 print "Yes"
else :
 print"No"

Solution (Python):
import sys

(W, H, x, y, r) = [int(i) for i in sys.stdin.readline().split(' ')]

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

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

Solution (Python):
i = list( map(int, input().split()) )

w = i[0]
h = i[1]
x = i[2]
y = i[3]
r = i[4]

if (x-r>=0 and x+r<=w and y-r>=0 and y+r<=h):
    print("Yes")
else:
    print("No")

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

Solution (Python):
W,H,x,y,r=map(int,input().split())
Flag=True
if x+r>W or x-r<0:
    Flag=False
if y+r>H or y-r<0:
    Flag=False
if Flag:
    print("Yes")
else:
    print("No")

Solution (Python):
w, h, x, y, r = map(int, input().split())
if r <= x <= w - r and r <= y <= h - r:
    print("Yes")
else:
    print("No")

Solution (Python):
w,h,x,y,r = map(int,input().split())
if r<=x<=w-r and r<=y<=h-r:
    print('Yes')
else:
    print('No')

Solution (Python):
w,h,x,y,r = map(int,input().split())
ans = "No"
if w >= 2*r and h >= 2*r:
    if  r<=x and x<=w-r and r<=y and y<=h-r:
        ans = "Yes"

print(ans)

Solution (Python):
W, H, x, y, r = map(int, input().split())

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

Solution (Python):
W, H, x, y, r = map(int, input().split())

if x - r < 0 or x + r > W or y - r < 0 or y + r > H:
    print("No")
else:
    print("Yes")

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

Solution (Python):
w,h,x,y,r = map(int,input().split())

if ((x-r)>=0) & ((x+r)<=w) & ((y-r)>=0) & ((y+r)<=h):
    print("Yes")
else:
    print("No")

Solution (Python):
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")

Solution (Python):
W,H,x,y,r = map(int,input().split())
L,R = x-r,x+r
U,D = y+r,y-r
print('Yes' if 0<=L<=R<=W and 0<=D<=U<=H else 'No')

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

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

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

Solution (Python):
w, h, x, y, r = map(int, input().split())
if x-r < 0 or x+r > w:
    print("No")
elif y-r < 0 or y+r > h:
    print("No")
else:
    print("Yes")

Solution (Python):
w,h,x,y,r = map(int,input().split())
anx = min(x,w-x)
any = min(y,h-y)
ans = min(anx,any)
if r <= ans :
	print("Yes")
else:
	print("No")

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

Solution (Python):
l = list(map(int, input().split() ))
if(((0 <= l[2] - l[4]) and (l[2] + l[4] <= l[0])) and ((0 <= l[3] - l[4]) and (l[3] + l[4] <= l[1]))):
    print("Yes")
else:
    print("No")

Solution (Python):

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



if x - r >= 0 and x + r <= w and y - r >= 0 and y + r <= h:
    print("Yes")
 
else:
    print("No")

Solution (Python):
w,h,x,y,r = map(int,input().split())
if r<=x<=w-r and r<=y<=h-r:
    print("Yes")
else:
    print("No")

Solution (Python):

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


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

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

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

cl_up = y + r
cl_down = y - r
cl_left = x - r
cl_right = x + r

if cl_up > h or cl_down < 0 or cl_left < 0 or cl_right > h:
    print("No")
else:
    print("Yes")

Solution (Python):
a= list(map(int,input().split()))
W = a[0] 
H = a[1] 
x = a[2]
y = a[3]
r = a[4]

if x-r < 0:
    print ("No")
elif x + r > W:
    print ("No")
elif y-r < 0:
    print ("No")
elif y+r > H:
    print ("No")
else:
    print ("Yes")

Solution (Python):
W,H,x,y,r=(int(u) for u in input().split())
if x-r<0 or x+r>W:
    print('No')
elif y-r<0 or y+r>H:
    print('No')
else:
    print('Yes')

Solution (Python):
W, H, x, y, r = map(int,input().split())

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

Solution (Python):
W,H,x,y,r=map(int,input().split())

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

Solution (Python):
l = input().split()
W = int(l[0])
H = int(l[1])
x = int(l[2])
y = int(l[3])
r = int(l[4])

if (x-r) < 0:
    print("No")
elif (x+r) > W:
    print("No")
elif (y-r) <0:
    print("No")
elif (y+r) >H:
    print("No")
else:
    print("Yes")

Solution (Python):
W,H,x,y,r=map(int,input().split())
if r<=x<=(W-r) and r<=y<=(H-r):
    print('Yes')
else:
    print('No')

Solution (Python):
W,H,x,y,r=map(int,input().split())

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

Solution (Python):
W, H, x, y, r = (int(x) for x in input().split())

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

else:
    print("No")

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

Solution (Python):
W,H,x,y,r = map(int,input().split())
Flag=True
if x+r>W or x-r<0:
    Flag=False
if y+r>H or y-r<0:
    Flag=False
if Flag:
    print("Yes")
else:
    print("No")

Solution (Python):
W,H,x,y,r = map(int,input().split())

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

Solution (Python):
n = input().split()
W, H, x, y, r = map(int, n)

x1 = x - r
y1 = y - r
x2 = x + r
y2 = y + r

if x1 < 0 or y1 < 0:
    print('No')
elif x2 > W or y2 > H:
    print('No')
else:
    print('Yes')

Solution (Python):
W,H,x,y,r=map(int,input().split())
a = min(x,y,W-x,H-y)
if a >= r:
    print("Yes")
else:
    print("No")

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

Solution (Python):
b = input().split()
s = [int(n) for n in b]
W = s[0]
H = s[1]
x = s[2]
y = s[3]
r = s[4]

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

Solution (Python):
S = input()
s = S.split()

W,H,x,y,r = list(map(int,s))

x_max = x+r 
x_min = x-r

y_max = y+r
y_min = y-r


if W >= x_max and 0 <= x_min and H >= y_max and 0 <= y_min :
    print("Yes")
else:
    print("No")

Solution (Python):
W,H,x,y,r = map(int,input().split())

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

Solution (Python):
W, H, x, y, r = map(int, input().split())

if x < 0 or y < 0:
    print("No")
elif x+r > W:
    print("No")
elif y+r > H:
    print("No")
else:
    print("Yes")

Solution (Python):
W,H,x,y,r=(int(x) for x in input().split())

if x-r<0 or x+r>W or y-r<0 or y+r>H:
    print('No')
elif x-r>=0 and x+r<=W and y-r>=0 and y+r<=H:
    print('Yes')

Solution (Python):
W,H,x,y,r=map(int,input().split())

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

Solution (Python):
W, H, x, y, r = map(int,input().split())
x_min = x - r
x_max = x + r
y_min = y - r
y_max = y + r
if x_min >= 0 and x_max <= W and y_min >= 0 and y_max <= H:
    print('Yes')
else:
    print('No')

Solution (Python):
W,H,x,y,r = map(int,input().split())
answer = "Yes"
if x-r < 0:
    answer = "No"
elif x+ r > W:
    answer = "No"   
elif y-r < 0:
    answer = "No"
elif y+r > H:
    answer = "No"
print(answer)

Solution (Python):
W, H, x, y, r = map(int, input().split())

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

Solution (Python):
w,h,x,y,r = map(int,input().split())

if x-r >= 0 and x + r <= w and y-r >= 0 and y + r <= h:
    print("Yes")
else:
    print("No")

Solution (Python):
W,H,X,Y,R=map(int,input().split())
if(H<R+Y):
    print("No")
elif(0>Y-R):
    print("No")
elif(W<R+X):
    print("No")
elif(0>X-R):
    print("No")
else:
    print("Yes")

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

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

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

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