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 = (int(i) for i in input().split())

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

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:
    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 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 < 0 or y < 0:
    print("No")
else:
    if (x + r) <= w and (y + r) <= h:
        print("Yes")
    else:
        print("No")

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

def YesOrNo(W, H , x, y, r):
	Xr = x + r
	Xl = x - r
	Yu = y + r
	Yd = y - r
	if (W >= Xr and H >= Yu and 0 <= Xl and 0 <= Yd):
		return "Yes"
	else:
		return "No"

print(YesOrNo(W, H, x, y, r))

Solution (Python):
w, h, x, y, r = map(int, raw_input().split())
print("Yes" if x in range(r, w - r + 1) and y in range(r, h - r + 1) else "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 = map(int, input().split())
xr = x + r
xl = x + r
yu = y + r
yd = y + r


if x < 0 or y < 0:
    print('No')
elif xr in range(0,w+1) and xl in range(0,w+1):
    if yu in range(0,h+1) and yd in range(0,h+1):
        print('Yes')
    else:
        print('No')
else:
    print('No')

Solution (Python):
tmp = input()
tmp = tmp.split(" ")
W,H,x,y,r = list(map(int,tmp))
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 = list(map(int,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):
c = input()
c = c.split(" ")
c = list(map(int,c))
w = c[0]
h = c[1]
x = c[2]
y = c[3]
r = c[4]
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, raw_input().split())
print 'Yes' if 0 <= x + r <= W and 0 <= y + r <= H and 0 < x else '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):
W, H, x, y, r = map(int, raw_input().split())
print 'Yes' if 0 <= x - r and 0 <= y -r and x + r <= W and y + r <= H else 'No'

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


import sys, math, os


PYDEV = os.environ.get('PYDEV')
if PYDEV=="True":
    sys.stdin = open("sample-input3.txt", "rt")

def circle_in_rectangle(W, H, x, y, r):
    return W >= 2 * r and x >= r and x <= W - r and \
           H >= 2 * r and y >= r and y <= H - r
    
W, H, x, y, r = [int(_) for _ in input().split()]
print("Yes" if circle_in_rectangle(W, H, x, y, r) else "No")

Solution (Python):
[w, h, x, y, r] = [int(number) for number in input().split()];
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,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):
x=input().split()
x=list(map(int, x))
W,H,x,y,r = x[0],x[1], x[2], x[3],x[4]
if x-r < 0:
    print("No")
elif x+r > W :
    print("No")
elif y+r > H:
    print("No")
elif y-r < 0:
    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):
x = input()
split_x = x.split()
split_x_int = [int(i) for i in split_x]

W = split_x_int[0]
H = split_x_int[1]
x = split_x_int[2]
y = split_x_int[3]
r = split_x_int[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 (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, 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 =[int(i) for i in input().split()]

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

Solution (Python):
def if_inside(boundary, pos, stretch, boundedside):
    if boundedside is "greater":
        return False if pos + stretch > boundary else True
    else:
        return False if pos - stretch < boundary else True


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

leftin = if_inside(0, x, r, "lesser")
buttomin = if_inside(0, y, r, "lesser")
rightin = if_inside(w, x, r, "greater")
topin = if_inside(h, y, r, "greater")

print("Yes") if leftin and buttomin and rightin and topin else print("No")

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

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

left_pos = x - r
right_pos = x + r
top_pos = y + r
bottom_pos = y - r

if left_pos < 0 or w < right_pos or bottom_pos < 0 or h < top_pos:
    print("No")
else:
    print("Yes")

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

Solution (Python):
W, H, x, y, r = [int(i) for i in 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 = eval(input().replace(' ', ','))
print("Yes" if 0 + r <= x <= w - r and 0 + r <= y <= h - r else "No")

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

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

answer = True

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

if answer == True:
    print("Yes")
else:
    print("No")

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

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

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

else:
    print("No")

Solution (Python):
lin = input()
l = lin.split(" ")
w = int(l[0])
h = int(l[1])
x = int(l[2])
y = int(l[3])
r = int(l[4])

def hantei(limit, me):
    if (me - r) < 0:
        return False
    elif (me + r) > limit:
        return False
    else:
        return True        
    
if hantei(w, x) == True and hantei(h, y) == True:
    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):
def pred(w, h, x, y, r):
    if x - r < 0 or y - r < 0 or x + r > w or y + r > h:
        return False
    else:
        return True

a = list(map(int, input().split()))

print("Yes" if pred(*a) else "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):
All=input().split()
W=int(All[0])
H=int(All[1])
x=int(All[2])
y=int(All[3])
r=int(All[4])
if x+r<=W and x-r>=0 and y+r<=H and y-r>=0:
    print('Yes')
else:
    print('No')

Solution (Python):
a = list(input().split(" "))
a = [int(i) for i in a]
b = a[2]+a[4]
c = a[2]-a[4]
d = a[3]+a[4]
e = a[3]-a[4]
if 0<=b<=a[0] and 0<=c<=a[0]:
    if 0<=d<=a[1] and 0<=e<=a[1]:
        print("Yes")
    else:
        print("No")
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 = 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")

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

Solution (Python):
W, H, x, y, r = (int(i) for i 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 = [int(x) for x in input().split()]

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

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

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

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

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

else:
    print("No")

Solution (Python):
keys = ('W', 'H', 'x', 'y', 'r')
attr = {k:v for k, v in zip(keys, map(int, input().split()))}
border = {'from':(attr['r'], attr['r']),
         'to':(attr['W'] - attr['r'], attr['H'] - attr['r'])}
if border['from'][0] <= attr['x'] <= border['to'][0] and border['from'][1] <= attr['y'] <= border['to'][1]:
    print('Yes')
else:
    print('No')

Solution (Python):
def main():
    x = input()
    x1, x2, x3, x4, x5 = x.split(' ') 
    W = int(x1)
    H = int(x2)
    x = int(x3)
    y = int(x4)
    r = int(x5)
    
    if r <= x <= W-r and r <= y <= H-r:
        print("Yes")
    else:
        print("No")
    
if __name__ == "__main__":
    main()

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

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

w = int(position[0])
h = int(position[1])
x = int(position[2])
y = int(position[3])
r = int(position[4])

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

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

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

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

Solution (Python):
w, h, x, y, r  = [int(s) for s in 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 > W :
	print("No")
elif y + r > H :
	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 (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=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")

Solution (Python):
a = 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:
    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):
def main():
    W, H, x, y, r = map(int, input().split())
    
    f = 1
    if x + r > W:
        f = 0
    if x - r < 0:
        f = 0
    if y + r > H:
        f = 0
    if y - r < 0:
        f = 0

    if f == 1:
        print("Yes")
    else:
        print("No")

if __name__ == "__main__":
    main()

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

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

Solution (Python):
S = raw_input().split(' ')
for i in range(0, len(S)):
  S[i] = int(S[i])

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

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

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

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

Solution (Python):
WW, HH, xx, yy, rr = map(int, input().split())
if xx > 0 and yy > 0:
    if WW - rr >= xx and HH - rr >= yy:
        print("Yes")
    else:
        print("No")
elif xx > 0 and yy <=0:
    if WW - rr >= xx and HH - rr <= yy and yy - rr < yy:
        print("Yes")
    else:
        print("No")
elif xx <= 0 and yy > 0:
    if WW - rr <= xx and xx - rr < xx and HH - rr >= yy:
        print("Yes")
    else:
        print("No")
else:
    if WW - rr <= xx and xx - rr < xx and HH - rr <= yy and yy - rr < yy:
        print("Yes")
    else:
        print("No")

Solution (Python):
def main():
    [width, height, cord_x, cord_y, radius] = list(map(int, input().split()))
    (circle_top,
     circle_left,
     circle_right,
     circle_bottom) = (cord_y + radius,
                       cord_x - radius,
                       cord_x + radius,
                       cord_y - radius)
    if circle_top <= height and circle_left >= 0 and circle_right <= width and circle_bottom >= 0:
        print('Yes')
    else:
        print('No')


main()

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')
    else:
        print('No')
else:
    print('No')

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

Solution (Python):

"""
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_D&lang=jp

"""
import sys
from sys import stdin
input = stdin.readline


def main(args):
    W, H, x, y, r = map(int, input().split())

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

    print(ans)


if __name__ == '__main__':
    main(sys.argv[1:])

Solution (Python):
a=input().split()
a=[int(x) for x in a]
W=a[0]
H=a[1]
x=a[2]
y=a[3]
r=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):
w, h, x, y, r = map(int, input().split())

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

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

if __name__ == '__main__' :
    main()

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

if __name__ == '__main__' :
    main()

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

if __name__ == '__main__' :
    main()

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

if __name__ == '__main__' :
    main()

Solution (Python):


import fileinput
import math

def main():

    for line in fileinput.input():
        W, H, x, y, r = map(int, line.strip().split())

        
        

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

if __name__ == '__main__':
    main()

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

if __name__ == '__main__' :
    main()

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 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 = [int(x) for x in input().split()]
print("Yes" if (W - x >= r and H - y >= r and x > 0 and y > 0) else "No")

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

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

if __name__ == "__main__":
    main()

Solution (Python):
def cal(W, H, x, y, r):
    right =  x + r
    left = x - r
    top =  y + r
    bottom = y - r
    if (right > W or left < 0 or top > H or bottom < 0):
        return "No"
    else:
        return "Yes"


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

Solution (Python):
def main():
    n = input().split()

    w = int(n[0])
    h = int(n[1])
    x = int(n[2])
    y = int(n[3])
    r = int(n[4])
    L = x - r
    T = y - r
    R = x + r
    B = y + r

    x_ans = (L >= 0 and R <= w)
    y_ans = (T >= 0 and B <= h)

    if x_ans and y_ans:
        print("Yes")
    else:
        print("No")

if __name__ == '__main__':
    main()

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())
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 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())
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())
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 (y - r) < 0 or (x - r) < 0 :
    print('No')
elif (y + r) > H or (x + r) > W:
    print('No')
else :
    print('Yes')

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

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

Solution (Python):
data = input()
w, h, x, y, r = [int(i) for i in data.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())
print(['No','Yes'][r<=x<=W-r and r<=y<=H-r])

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

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

Solution (Python):

array = map(int, raw_input().split())
W = array[0]
H = array[1]
x = array[2]
y = array[3]
r = array[4]
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 (r <= x <= W-r) and (r <= y <= H-r) : print 'Yes'
else : print 'No'

Solution (Python):
def parseSpaceDivideIntArgs(arg):
    tmpArr = arg.split()
    ret = []
    for s in tmpArr:
        ret.append(int(s))
    return ret


def getArr2SpaceDivideStr(arg):
    ret = ""
    isFirst = True
    for s in arg:
        if not isFirst:
            ret += ' '
        else:
            isFirst = False
        ret += str(s)
    return ret


instr = input()


instrSpl = parseSpaceDivideIntArgs(instr)
W = instrSpl[0]
H = instrSpl[1]
x = instrSpl[2]
y = instrSpl[3]
r = instrSpl[4]

xcod1 = x - r >= 0
xcod2 = x + r <= W
ycod1 = y - r >= 0
ycod2 = y + r <= H

if xcod1 and xcod2 and ycod1 and ycod2:
    print("Yes")
else:
    print("No")

Solution (Python):
if __name__ == '__main__':
	l = input().split()

	for i in range(len(l)):
		l[i] = int(l[i])
	W, H, x, y, r = l[0], l[1], l[2], l[3], l[4]

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

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

Solution (Python):
a = raw_input()
a = a.split()
if(int(a[0]) < (int(a[2]) + int(a[4])) or int(a[2]) < 0):
    print 'No'
elif(int(a[1]) < (int(a[3])+int(a[4])) or int(a[3]) < 0):
    print 'No'
else:
    print 'Yes'

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

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

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

Solution (Python):
abc = input().split()
for n in abc:
	n = int(n)
	
w,h,x,y,r = int(abc[0]), int(abc[1]), int(abc[2]), int(abc[3]), int(abc[4]),

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

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

Solution (Python):
value = input().split()
W = int(value[0])
H = int(value[1])
coordinate = [[0 for _ in range(W + 1)] for _ in range(H + 1)]
x = int(value[2])
y = int(value[3])
r =int(value[4])
try:
    if x < 0 or y < 0:
        print("No")
    else:     
            tmp = coordinate[y][x + r]
            tmp = coordinate[y][x - r]
            tmp = coordinate[y + r][x]
            tmp = coordinate[y - r][x]
            print("Yes")
except Exception:
    print("No")

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

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

print(answer)

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

if x1 + r > w or x1 - 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 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=input().split()
W=int(W)
H=int(H)
x=int(x)
y=int(y)
r=int(r)
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())
print(['No','Yes'][(r<=x<=W-r)*(r<=y<=H-r)])

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):
def cinr(i):
    tmp = (i.split(" "))
    W = int(tmp[0])
    H = int(tmp[1])
    x = int(tmp[2])
    y = int(tmp[3])
    r = int(tmp[4])

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

if __name__ == "__main__":
    ret = cinr(input())

Solution (Python):
def judge(w, h, x, y, r):
    within_range = (0 <= x - r and x + r <= w) and (0 <= y - r and y + r <= h)
    return 'Yes' if within_range else 'No'

if __name__ == '__main__':
    w, h, x, y, r = map(int, input().split(' '))
    print(judge(w, h, x, y, r))

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

W,H,x,y,r = int(i[0]),int(i[1]),int(i[2]),int(i[3]),int(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 0 <= x - r <= x + r <= W and 0 <= y-r <= y+r <= H:
    print('Yes')
else:
    print('No')

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

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

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

left_x = x - r
right_x = x + r
top_y = y + r
bottom_y = y - r

if left_x >= 0 and right_x <= W and top_y <= H and bottom_y >= 0:
    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 (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 = list(map(int,input().split()))
print("Yes" if x-r >= 0 and x + r <= w and y - r >= 0 and y + r <= h else "No")

Solution (Python):



import sys

w, h, x, y, r = map(int, sys.stdin.readline().split())

if x < r or (x+r) > w:
    print('No')
elif y < r or (y+r) > h:
    print('No')
else:
    print('Yes')

Solution (Python):


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

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

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

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

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

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


elif x-r<0 or x+r>W:
  print("No")

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

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