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):

import sys
 
WHxyr=sys.stdin.readline()
nums=WHxyr.split( ' ' )
for i in range( len( nums) ):
	nums[i] = int( nums[i] )
if (0 <= nums[2]-nums[4]) and (nums[2]+nums[4] <= nums[0]) and (0 <= nums[3]-nums[4]) and (nums[3]+nums[4] <= nums[1]):
	print( "Yes" )
else:
	print( "No" )

Solution (Python):


w,h,x,y,r = map(int,input().split())
if x - r < 0:
    print('No')
elif y - r < 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 = 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):
if __name__ == '__main__':
    W, H, x, y, r = [int(i) for i 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 x + r <= W and y + r <= H:
    print('Yes')
else:
    print('No')

Solution (Python):
if __name__ == "__main__":
	W, H, x, y, r = input().split()
	W, H, x, y, r = int(W), int(H), int(x), int(y), int(r)
	
	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=map(int,raw_input().split())
if (x-r)>=0 and W>=(x+r) and (y-r)>=0 and H>=(y+r):
	print "Yes"
else:
	print "No"

Solution (Python):
import math
a = raw_input()
for i, b in enumerate(a.split()):
	if i==0:
		W=int(b)
	elif i==1:
		H=int(b)
	elif i==2:
		x=int(b)
	elif i==3:
		y=int(b)
	else:
		r=int(b)
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 <= w - r and r <= y <= h -r else "No")

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

Solution (Python):
import sys

W, H, x, y, r = [ int( val ) for val in sys.stdin.readline().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 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, raw_input().split())

up = y + r
down = y - r
left = x - r
right = x + r

if up <= H and down >= 0 and left >= 0 and right <= W:
	print "Yes"

else:
	print "No"

Solution (Python):
a=raw_input()
list=a.split()
W=int(list[0])
H=int(list[1])
x=int(list[2])
y=int(list[3])
r=int(list[4])
if r<=x<=W-r and r<=y<=H-r:
	print 'Yes'
else:
	print 'No'

Solution (Python):
class itp1_2d:
    def judge(self,W,H,x,y,r):
        if(x-r<0 or
           x+r>W or
           y-r<0 or
           y+r>H):
            print("No")
        else :
            print("Yes")
if __name__=="__main__":
    num=map(int,raw_input().split(" "))
    run=itp1_2d()
    run.judge(num[0],num[1],num[2],num[3],num[4])

Solution (Python):
ia = [int(i) for i in input().split(" ")]
W=ia[0]
H=ia[1]
x=ia[2]
y=ia[3]
r=ia[4]
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 ) = 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())

up = y + r
down = y - r
left = x - r
right = x + r

if up <= H and down >= 0 and left >= 0 and right <= W:
	print "Yes"

else:
	print "No"

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

Solution (Python):


W,H,x,y,r = map(int,raw_input().split())
if x - r < 0 or x + r > H 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  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 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 W-x>=r and x>=r and H-y>=r and y>=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, raw_input().split())
print "Yes" if 0 <= x - r < x + r <= W and 0 <= y - r < y + r <= H else "No"

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

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

Solution (Python):


inputs = raw_input().rstrip().split()
W, H, x, y, r = [int(x) for x in inputs]

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

Solution (Python):
def check_inner( W, H, x, y, r):
    if (x-r) < 0:
        return False
    if (x+r) > W:
        return False
    if (y-r) < 0:
        return False
    if (y+r) > H:
        return False
    return True

if __name__ == "__main__":

    nums = map( int, raw_input().split())
    if check_inner( nums[0], nums[1], nums[2], nums[3], nums[4]):
        print "Yes"
    else:
        print "No"

Solution (Python):
W,H,x,y,r = map(int, raw_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, raw_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 x - r >= 0 and x + r <= H and y - r >= 0 and y + r <= H else 'No')

Solution (Python):
w, h, x, y, r = (int(i) for i in 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 0 + r <= x <= w - r and 0 + r <= y <= h - r:
    print('Yes')
else:
    print('No')

Solution (Python):
nums = input().split()
W = int( nums[0])
H = int( nums[1])
x = int( nums[2])
y = int( nums[3])
r = int( nums[4])
 
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 = [int(i) for i in input().split()]
if (x-r) >= 0 and (y+r) <= h and (x+r) <= w and (y-r) >= 0:
    print("Yes")
else:
    print("No")

Solution (Python):
nums = input().split()
W = int( nums[0])
H = int( nums[1])
x = int( nums[2])
y = int( nums[3])
r = int( nums[4])
  
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):
nums = input().split()
W = int( nums[0])
H = int( nums[1])
x = int( nums[2])
y = int( nums[3])
r = int( nums[4])
  
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) = [int(i) for i in 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 r <= x <= W - r and r <= y <= H - r:
    print("Yes")
else:
    print("No")

Solution (Python):
nums = input().split()
W = int(nums[0])
H = int(nums[1])
X = int(nums[2])
Y = int(nums[3])
R = int(nums[4])
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):
import warnings

data = map(float, raw_input().split())

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

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

Solution (Python):
nums = input().split()
W = int(nums[0])
H = int(nums[1])
X = int(nums[2])
Y = int(nums[3])
R = int(nums[4])
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):



import sys


def judge(W, H, x, y, r):
    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 = map(int, raw_input().split())

if -100 <= x <= 100 and -100 <= y <= 100 and \
   0 < W <= 100 and 0 < H <= 100 and 0 < r <= 100:
    judge(W, H, x, y, r)
else:
    print "error!!"
    sys.exit(0)

Solution (Python):
input = raw_input().split(" ")
input = map(int, input)

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

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

Solution (Python):

nums = input().split()
W = int(nums[0])
H = int(nums[1])
X = int(nums[2])
Y = int(nums[3])
R = int(nums[4])
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 >= x+r and 0 <= x+r and H >= y+r and 0 <= y+r and x > 0 and y > 0:
    print("Yes")
else:
    print("No")

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

Solution (Python):
nums = input().split()
W = int(nums[0])
H = int(nums[1])
X = int(nums[2])
Y = int(nums[3])
R = int(nums[4])
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):
nums = input().split()
W = int( nums[0])
H = int( nums[1])
x = int( nums[2])
y = int( nums[3])
r = int( nums[4])
   
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):
nums = input().split()
W = int( nums[0])
H = int( nums[1])
x = int( nums[2])
y = int( nums[3])
r = int( nums[4])
    
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):
if __name__ == "__main__":
    W, H, x, y, r = input().split()
    W, H, x, y, r = int(W), int(H), int(x), int(y), int(r)
     
    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) = input().split(' ')
w = int(w)
h = int(h)
x = int(x)
y = int(y)
r = int(r)

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

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

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):
nums = input().split()
W = int( nums[0])
H = int( nums[1])
x = int( nums[2])
y = int( nums[3])
r = int( nums[4])
  
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):
nums = input().split()
W = int( nums[0])
H = int( nums[1])
x = int( nums[2])
y = int( nums[3])
r = int( nums[4])
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):
import sys
prm = sys.stdin.readline()
prm = prm.split()
W = int(prm[0])
H = int(prm[1])
x = int(prm[2])
y = int(prm[3])
r = int(prm[4])

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

Solution (Python):
nums = input().split()
W = int(nums[0])
H = int(nums[1])
X = int(nums[2])
Y = int(nums[3])
R = int(nums[4])
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())

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

Solution (Python):
print(
    (lambda out: 'No' if out else 'Yes')(
        (lambda w, h, x, y, r: x-r < 0 or w < x+r or \
                               y-r < 0 or h < y+r)(
            *map(int, input().split()))))

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")
else:
	print("Yes")

Solution (Python):
w,h,x,y,r=map(int,raw_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 or y - r < 0 or x + r > W or y + r > H:
    print "No"
else:
    print "Yes"

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

Solution (Python):
num = raw_input()
num = num.split()
result = True
w, h, x, y, r = int(num[0]), int(num[1]), int(num[2]), int(num[3]), int(num[4])

if x < r or (w - r) < x:
	result = False

if y < r or (h - r) < y:
	result = False

if result:
	print "Yes"
else:
	print "No"

Solution (Python):
numbers = input()
numbers = numbers.split(" ")

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

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

Solution (Python):
X= raw_input().split()
if float(X[2]) + float(X[4]) <= float(X[0])and float(X[2]) - float(X[4]) >= 0 and float(X[3]) + float(X[4]) <= float(X[1]) and float(X[3]) - float(X[4]) >= 0:
    print "Yes"
else:
    print "No"

Solution (Python):
l=map(int,raw_input().split())
W=l[0]
H=l[1]
x=l[2]
y=l[3]
r=l[4]
if x>=r and y>=r and x+r<=W and y+r<=H:
	print 'Yes'
else:
	print 'No'

Solution (Python):
W, H, x, y, r = map(int, raw_input().split())
left = x - r
right = x + r
top = y + r
bottom = y - r

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

Solution (Python):
numbers = []
n = raw_input()
numbers = n.split(" ")
for i in range(5):
	numbers[i] = int(numbers[i])
W = numbers[0]
H = numbers[1]
x = numbers[2]
y = numbers[3]
r = numbers[4]

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

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

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

Solution (Python):
nums = input().split()
W = int( nums[0])
H = int( nums[1])
x = int( nums[2])
y = int( nums[3])
r = int( nums[4])
 
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, raw_input().split())

if(x+r<=W and y+r<=H and x-r>=0 and y-r>=0):
	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):
(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,raw_input().split())
if x>=r and x<=w-r and y>=r and y<=h-r:
    print "Yes"
else:
    print "No"

Solution (Python):



var = raw_input().split()

var = map(int, var)

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

Solution (Python):


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

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, raw_input().split())
if -100 <= x <= 100 and -100 <= y <= 100 and \
   0 < w <= 100 and 0 < h <= 100 and 0 < r <= 100:
    if x + r <= w and y + r <= h 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 <= W and y + r <= H and 0 <= x - r and 0 <= y - r:
	print("Yes")
else:
	print("No")

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

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

f=0
if x+r>w:
    f=1
if y+r>h:
    f=1
if r>x:
    f=1
if r>y:
    f=1
if f==0:
    print "Yes"
else:
    print "No"

Solution (Python):
W, H, x, y, r = map(int, raw_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,raw_input().split())
if not(-100<=x and y<=100 and 0<W<=100 and 0<H<=100 and 0<r<=100):
    print("Constraits Errand")
    exit()

elif 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())
cr = x+r
cl = x-r
ct = y+r
cb = y-r
if ct <= H and cb >= 0 and cl >= 0 and cr <= W:
  print('Yes')
else:
  print('No')

Solution (Python):
in_str = raw_input().split()
num = []
for s in in_str:
    num.append(int(s))
if(num[0] < num[2] or num[1] < num[3] or num[2] < 0 or num[3] < 0):
    print "No"
elif(num[0] < num[2]+num[4] or num[1] < num[3]+num[4] or num[2]-num[4] < 0 or num[3]-num[4] < 0):
    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):
arr = input().split(' ')
(W, H, x, y, r) = tuple([int(x) for x in arr])

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):
in_str = input().split(" ")
in_width = int(in_str[0])
in_hight = int(in_str[1])

in_x = int(in_str[2])
in_y = int(in_str[3])
in_r = int(in_str[4])


if (0 <= in_x - in_r) & (in_x + in_r <= in_width):
    
    if (0 <= in_y - in_r) & (in_y + in_r <= in_hight):
        print("Yes")
    else:
        print("No")
else:
    print("No")

Solution (Python):
import sys

W,H,x,y,r = map(int,sys.stdin.readline().split())

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

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 = 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 = 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 = 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 ( 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 = 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, raw_input().split(' '))
print "Yes" if r <= x <= W-r and r <= y <= H-r else "No"

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

Solution (Python):
m = map(int,raw_input().split())
w = m[0]
h = m[1]
x = m[2]
y = m[3]
r = m[4]

if 2*r > w or 2*r >h:
 print "No"
else:
 if 0 < x + r <= w and 0 < y + r <= h:
  print "Yes"
 else:
  print "No"

Solution (Python):
W, H, x, y, r = map(int, raw_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) 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, raw_input().split())
if r <= x and r <= W - x and r <= y and r <= H - y:
   print 'Yes'
else:
   print 'No'

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

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

Solution (Python):
W, H, x, y, r = map(int, raw_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, raw_input().split())
 
if r <= x and x + r <= W and r <= y 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 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 (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, raw_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, raw_input().split())

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

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

Solution (Python):

nums = map(int, raw_input().split())
WH = [nums[0], nums[1]]
xy = [nums[2], nums[3]]
r  = nums[4]

up    = xy[1] + r
low   = xy[1] - r
right = xy[0] + r
left  = xy[0] - r

if up > WH[1] or low < 0 or right > WH[0] or left < 0:
    print "No"
else:
    print "Yes"

Solution (Python):
W , H , x , y , r = map( int , raw_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 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, raw_input().split())

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

Solution (Python):
a=map(int,raw_input().split())


if 0<=a[2]-a[4] and a[2]+a[4]<=a[0] and 0<=a[3]-a[4] and a[3]+a[4]<=a[1]:
        print "Yes"
else:
    print "No"

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

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

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,raw_input().split())

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

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

Solution (Python):
W, H, x, y, r = map(int, raw_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, raw_input().split())
if x-r<0 or y-r<0:
    print"No"

elif x+r <= W and y+r <= H:
    print"Yes"
else:
    print"No"

Solution (Python):
import math
a = raw_input()
for i, b in enumerate(a.split()):
    if i==0:
        W=int(b)
    elif i==1:
        H=int(b)
    elif i==2:
        x=int(b)
    elif i==3:
        y=int(b)
    else:
        r=int(b)
if r<=x<=W-r and r<=y<=H-r:
    print 'Yes'
else:
    print 'No'

Solution (Python):
W,H,x,y,r = map(int, raw_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, raw_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, raw_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, raw_input().split())
 
if x < r or x + r > W or y < r or y + r >H:
  print "No"
else:
 print "Yes"

Solution (Python):
W,H,x,y,r = map(int, raw_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, raw_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 = map(int,raw_input().split())
if x - r < 0 or x + r > H or y - r < 0 or y + r > H:
    print "No"
else:
    print "Yes"

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):
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):
data = input().split()

for n in range(len(data)):
	data[n] = int(data[n])

W, H, x, y, r = data

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

Solution (Python):
W,H,x,y,r = map(int,raw_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, raw_input().strip().split(" "))
if r <= x <= W - r and r <= y <= H - r:
    print "Yes"
else:
    print "No"

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

Solution (Python):
a = raw_input().split(" ")
W = int(a[0])
H = int(a[1])
x = int(a[2])
y = int(a[3])
r = int(a[4])
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

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

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

Solution (Python):


l = raw_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:
	if y >=r:
		if x <=(H -r):
			if y <=(H-r):
				print "Yes"
			else:
				print "No"
		else:
			print"No"
	else:
		print "No"

else:
	print "No"

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

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

if x-r<0:
	flag = 1

elif y-r<0:
	flag = 1

elif y+r>H:
	flag = 1

elif x+r>W:
	flag = 1

else:
	flag = 0

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

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,raw_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 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, raw_input().split(' '))
print "Yes" if r <= x <= W-r and r <= y <= H-r else "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(float,raw_input().split())
x_min = x-r
x_max=x+r
y_min=y-r
y_max=y+r

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

Solution (Python):
a=map(int,raw_input().split())
if min(a[2],a[3])>=a[4] and a[2]+a[4]<=a[0] and a[3]+a[4]<=a[1]: 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):


list = map(int, raw_input().split())
W = list[0]
H = list[1]
x = list[2]
y = list[3]
r = list[4]

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

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

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())
print(['No','Yes'][r<=x<=w-r and 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):

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

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().split())

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

Solution (Python):
class CircleInaRectangle:
    def __init__(self, W, H, x, y, r):
        if 0 <= x - r and 0 <= y - r and x + r <= W and y + r <= H:
            print "Yes"
        else:
            print "No"

if __name__ == "__main__":
    W, H, x, y, r = map(int, raw_input().split())
    CircleInaRectangle(W, H, x, y, r)

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):
a = map(int,raw_input().split())
if a[4] <= a[2] and a[2] <= a[0] - a[4] and a[4] <= a[3] and a[3] <= a[1] - a[4] :
    print "Yes"
else :
    print "No"

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

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

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

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