Problem:


  MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});

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



Sample input:
5 4 2 2 1


Sample output:
Yes

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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")
elif x-r<0 or x+r>W or y-r<0 or y+r>H:print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
var=input()
var=var.split()
W=int(var[0])
H=int(var[1])
x=int(var[2])
y=int(var[3])
r=int(var[4])
if(-100<=x<=100 and -100<=y<=100):
    if(0<W<=100 and 0<H<=100 and 0<r<=100):
        if((x+r)<=W and (x-r)>=0):
            if((y+r)<=H and (y-r)>=0):
                print("Yes")
            else:
                print("No")
        else:
            print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
W,H,a,b,r=list(map(int,input().split()))
if a+r<=W and r<=a:
    if b+r<=H and r<=b:
        print("Yes")
    else:
        print("No")
else:
    print("No")

Submission status: Accepted

Solution code:
#ITP_1_2_D
W, H, x, y, r = input().split()
W, H, x, y, r = int(W), int(H), int(x), int(y), int(r)

r_nouth = y + r
r_south = y - r
r_east = x + r
r_west = x - r

if H < 0:
  if r_south >= H and r_nouth <= 0:
    height = True
  else:
    height = False
else:
  if r_nouth <= H and r_south >= 0:
    height = True
  else:
    height = False

if W < 0:
  if r_west >= W and r_east <= 0:
    weith = True
  else:
    weith = False
else:
  if r_east <= W and r_west >= 0:
    weith = True
  else:
    weith = False

if height == True and weith == True:
  print("Yes")
else:
  print("No")

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#
# 2d
#

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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:
    if y_min >= 0 and y_max <= h:
        print("Yes")
        exit()
print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def in_rectangle(w,h,x,y,r):
    return (r <= x and x <= w-r and r <= y and y <= h-r)


if __name__ == "__main__":
    w,h,x,y,r = [int(x) for x in input().split()]
    if in_rectangle(w,h,x,y,r):
        print("Yes")
    else:
        print("No")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
W,H,X,Y,R = map(int, open(0).read().split())

x0 = X - R
x1 = X + R
y0 = Y - R
y1 = Y + R
if x0 >= 0 and x1 <= W and y0 >= 0 and y1 <= H:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

print("No")

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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



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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if r <= x <= W - r and r <= y <= H - r:
  result = 'Yes'
else:
  result = 'No'

print(result)

Submission status: Accepted

Solution code:
s = input().split()
W,H,x,y,r = int(s[0]),int(s[1]),int(s[2]),int(s[3]),int(s[4])
if x<r or y<r or W<x+r or H<y+r:
    print("No")
else:
    print("Yes")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num = input().split(" ")

W = int(num[0])
H = int(num[1])
x = int(num[2])
y = int(num[3])
r = int(num[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")

Submission status: Accepted

Solution code:
def validate_x(w: int, x: int, r: int) -> bool:
    if r <= x <= w - r:
        return True
    return False


def validate_y(h: int, y: int, r: int) -> bool:
    if r <= y <= h - r:
        return True
    return False


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

    if validate_x(w, x, r) and validate_y(h, y, r):
        print("Yes")
    else:
        print("No")


resolve()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
W,H,x,y,r=map(int,input().split(' '))
ct=x+r
cb=x-r
cl=y-r
cr=y+r


if ct > W:
  print('No')
elif cb <0:
  print('No')
elif cr > H:
  print('No')
elif cr < 0:
  print('No')
else:
  print('Yes')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
W = 0
H = 1
x = 2
y = 3
r = 4

l1 = input().split()
l2 = []

for i in l1:
    l2.append(int(i))

if l2[W] <= l2[x]:
    print("No")
else:
    if l2[H] <= l2[y]:
        print("No")
    else:
        if(l2[x] - l2[r]) < 0:
            print("No")
        else:
            if(l2[y] - l2[r]) < 0:
                print("No")
            else:
                print("Yes")

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

else :
    print('No')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if x - r < 0 or W < x + r:
  result="No"
elif y - r < 0 or H < y + r:
  result="No"
else:
  result="Yes"

print(result)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
L = list(map(int,input().split()))

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

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

Submission status: Accepted

Solution code:
# W,H,x.y.r
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")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


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

if W >= x2 and H >=y2 and x1 >=0 and y1 >=0:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    abc_list=[]
    W,H,x,y,r=map(int,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")

if __name__=="__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# sample input 5 4 2 2 1
# sample output Yes
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")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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:
    ans = "Yes"
else:
    ans = "No"

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
W,H,x,y,r=map(int,input().split()) #Wとxが対応　Hとyが対応　
if(W>=x+r)and(H>=y+r)and(x+r>0)and(y+r>0):
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l = input().split()
i = 0
while i < 5:
    l[i] = int(l[i])
    i += 1
W = l[0]; H = l[1]; x = l[2]; y = l[3]; r = l[4]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

    
else:
    print('No')

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
s =list(map(int,input().split()))
if  s[0]>=s[2]+s[4] and s[1]>=s[3]+s[4] and s[2]>0 and s[3]>0 :
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
W, H, x, y, r = map(int, input().split())
#条件1：x-r,y-r>=0
#条件2：x+r<=W,y+r<=H
if x - r < 0 or y - r < 0 or x + r > W or y + r > H:
  print("No")
else:
  print("Yes")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
W,H,x,y,r=map(int,input().split())
m=-1
A=x+r
B=y+r
if x<0 or y<0:
     print("No")
elif A<=W and B<=H:
    print("Yes")
else:
        print("No")

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
int_list = list(map(int, input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys


def I(): return int(sys.stdin.readline().rstrip())


def LI(): return list(map(int, sys.stdin.readline().rstrip().split()))


def S(): return sys.stdin.readline().rstrip()


def LS(): return list(sys.stdin.readline().rstrip().split())


w, h, x, y, r = LI()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = input().split()
W = int(i[0])
H = int(i[1])
x = int(i[2])
y = int(i[3])
r = int(i[4])
if W < x + r or x - r < 0 or H < y + r or y - r < 0:
    print("No")
else:
    print("Yes")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

a=x-r
b=y-r
c=x+r
d=y+r

if a>=0 and b>=0 and c<=W and d<=H:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

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

Submission status: Accepted

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