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())
print('Yes' if (r <= x <= W - r) * (r <= y <= H - r) else '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:
line = input()
W, H, x, y, r = (int(x) for x in line.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<0 or y<0:
    print('No')

else:
    if w<x+r or x-r<0:
        print('No')

    else:
        if h<y+r or y-r<0:
            print('No')

        else:
            print('Yes')

Submission status: Accepted

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

lx = x - r
rx = x + r

ty = y + r
by = y + r

if (lx >= 0 and rx <= W) and (by >= 0 and ty <= H):
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

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


check_h1 = (x - r) >= 0
check_h2 = (x + r) <= W
check_v1 = (y - r) >= 0
check_v2 = (y + r) <= H

check_h = check_h1 & check_h2
check_v = check_v1 & check_v2

check_all = check_h & check_v

if check_all:
    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 = list(map(int, input().split()))

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

Submission status: Accepted

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

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

if right > W or left < 0 or top > H or under < 0:
    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 r<=x and x<=(W-r):
    if r<=y and y<=(H-r):
        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:
W,H,x,y,r=map(int,input().split())
if y-r>=0 and x-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 and x <= (W-r) and r <= y 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 + r <= W and 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 (x - r >= 0) & (y - r >= 0) & (x + r <= W) & (y + r <= H):
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline

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

Submission status: Accepted

Solution code:
W, H, x, y, r = map(int, input().split())
flag = 0
if x-r < 0:
  flag = -1
if x + r > W:
  flag = -1
if y-r <0:
  flag = -1
if y+r > H:
  flag = -1

if  flag == -1:
  print("No")
else:
  print("Yes")

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 = map(int, input().split())
if(x-r < 0) or (w < x+r) 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())
max_width = x + r
min_width = x - r
max_height = y + r
min_height = y - r

answer = "Yes"
if max_width > W:
  answer = "No"
elif min_width < 0:
  answer = "No"
elif max_height > H:
  answer = "No"
elif min_height < 0:
  answer = "No"

print(answer)

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

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

Submission status: Accepted

Solution code:
def within(low, mid1, mid2, high):
    return low <= mid1 and mid2 <= high


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

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

if within(0, left, right, W) and within(0, bottom, top, 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:
    if 0 <= y-r 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 W==x :
    print("No")
elif W-r<x :
    print("No")
elif H==y :
    print("No")
elif H-r<y :
    print("No")
elif x<0 or 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 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>=0 and x+r<=W and y-r>=0 and y+r<=H:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
a,b,x,y,r=map(int, input().split())

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

Submission status: Accepted

Solution code:
def is_in_rectangle(W,H,x,y,r):
    """円の4点ではみだし判定を行う"""
    left=x-r
    right=x+r
    top=y+r
    bottom=y-r
    
    if left<0:
        return False
        
    if right>W:
        return False
        
    if top>H:
        return False
        
    if bottom < 0:
        return False
        
    return True


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

line=input()
W,H,x,y,r=tuple(map(int,line.split(" ")))
result=is_in_rectangle(W,H,x,y,r)

show_result(result)

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 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())
s='Yes'
if x+r > w:
    s='No'
elif y+r>h:
    s='No'
elif x-r<0:
    s='No'
elif y-r<0:
    s='No'
print(s)

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

def in_range(low, high, max):
    return 0 <= low and high <= max

def within(W, H, x, y, r):
    return in_range(x - r, x + r, W) and in_range(y - r, y + r, H)

if within(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 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 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())

def in_renge(low, high, max):
    return 0 <= low and high <=max
    
if in_renge(x - r, x + r, W) and in_renge(y - r, y + r, H):
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

def in_range(low, high, max):
    return 0 <= low and high <= max

if in_range(x - r, x+ r, W) and in_range(y - r, y + r, H):
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input()

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

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

Submission status: Accepted

Solution code:
a , b , c , d , e = map(int,input().split())
if 0 <= c - e and 0 <= d - e and e <= a - c and e <= b - d:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

if ((x+r)>w) or ((y+r)>h) or ((x-r)<0) or ((x+r)<0) or ((y-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(" "))

if x < 0 or y < 0:
    print("No")
elif (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 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 0 > x - r or W < x + r or 0 > y - 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 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())
ok=True
if X<R or W-R<X:
    ok=False
if Y<R or H-R<Y:
    ok=False
if ok:
    print("Yes")
else:
    print("No")

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())
ok=True
if X<R or W-R<X:
	ok=False
if Y<R or H-R<Y:
	ok=False
if ok:
	print("Yes")
else:
	print("No")

Submission status: Accepted

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

if 0>x-r or W<x+r or 0>y-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 0 <= x - r and w >= x + r:
    if 0 <= y - r and h >= y + r:
        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:
i = input()
W,H,x,y,r = map(int, i.split())

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

else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
W,H,x,y,r=map(int,input().split())
if r<=x+r<=W and r<=r+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:
    print('No')
elif y + r > H:
    print('No')
elif x - r < 0:
    print('No')
elif y - r < 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())

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

Submission status: Accepted

Solution code:
s = input().split()
W = int(s[0])
H = int(s[1])
x = int(s[2])
y = int(s[3])
r = int(s[4])
a = 0
if x >= r:
  if y >= r:
    if W >= x+r:
      if H >= y+r:
        print("Yes")
        a = 3
if a!= 3:
  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 < 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 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,input().split())

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

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

Submission status: Accepted

Solution code:
i = input()
w, h, x, y, r = map(int, i.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 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 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 (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=input().split()
w=int(w)
h=int(h)
x=int(x)
y=int(y)
r=int(r)
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 r <= x and x<= W -r and r <= y 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 (x-r>=0 and y-r>=0) 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 W < x + r or H < y + r:
    print('No')

elif 0 > x - r or 0 > y - r:
    print('No')
else:
    print('Yes')

Submission status: Accepted

Solution code:
w, h, x, y, r = list(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:
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 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 r > x or r > y or x + r > w or y + r > h:
  print('No')
  exit(0)
print('Yes')

Submission status: Accepted

Solution code:
wi, hi, x, y, r = map(int, input().split())

if x-r >= 0 and x+r <= wi and y-r >= 0 and y + r <= hi:
    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) < 0 or (x + r) > W or (y - r) < 0 or (y + r) > H:
  print("No")
if (x - r) >= 0 and (x + r) <= W and (y - r) >= 0 and (y + r) <= H:
  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:
# coding: utf-8
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 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 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 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 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 and 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 and 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 < 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 = (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:
def resolve():
    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")

if __name__ == "__main__":
    resolve()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
W,H,x,y,z = [int(i) for i in input().split()]
ans = ""
#x,yが正か負か
if x <= 0 or y <= 0:
    ans = "No"

#x+r or y+rが第１象限内かつW or Hを超えないか かつ　x-r>=0 and y-r>=0か
if x+z <= W and y+z <= H:
    if x-z >= 0 and y-z >= 0:
        ans ="Yes"
else:
    ans = "No"

print(ans)

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

nag = math.sqrt(x**2 + y**2)

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