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

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

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

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

cnt = 0
high = a[0]
low = a[1]
origin = 0
b = [a[2]+a[4], a[3]+a[4]]
for i in b:
    if high < i:
        print('No')
        break
    elif low < i:
        print('No')
        break
    elif origin > i - a[4] * 2:
        print('No')
        break
    else:
        cnt += 1
    
if cnt == 2:
    print('Yes')

Solution (Python):
li = list(map(int, input().split(' ')))
w = li[0]
h = li[1]
x = li[2]
y = li[3]
r = li[4]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
def test():

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

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


if __name__ == "__main__":
	test()

Solution (Python):


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

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


row = (r<=x)and(x<=W-r)
column = (r<=y)and(y<=H-r)

if row and column:
    print("Yes")
else:
    print("No")

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

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

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

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

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

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

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

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

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

Solution (Python):
import sys

nums = list(map(lambda x: int(x), sys.stdin.readline().split(' ')))
W = nums[0]
H = nums[1]
x = nums[2]
y = nums[3]
r = nums[4]

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

print(ret)

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
possi = input().split()
W,H,x,y,r = [int(possi) for possi in possi]
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 or y-r < 0 or x+r > w or y+r > h:
    print("No")
else:
    print("Yes")

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
def inRect(W, H, x, y, r):
    if not (0 <= x-r <= x+r <= W):
        return False

    if not (0 <= y-r <= y+r <= H):
        return False

    return True

print('Yes' if inRect(*map(int, input().split())) else 'No')

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

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

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

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

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

Solution (Python):
def is_inside(l: int, c: int, r: int) -> bool:
    return (0 <= c - r) & (c + r <= l)


if __name__ == "__main__":
    w, h, a, b, r = map(lambda x: int(x), input().split())
    if (is_inside(w, a, r) & is_inside(h, b, r)):
        print("Yes")
    else:
        print("No")

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

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

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

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

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

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

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

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





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

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

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

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

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

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

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

Solution (Python):


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

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

Solution (Python):

input_number=input()

array=input_number.split()


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

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

Solution (Python):
import math

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

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

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

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

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

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

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

Solution (Python):
A = [int(i) for i in input().split()]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):


from collections import* 
from fractions import gcd
from functools import* 
from itertools import* 
from operator import mul
from bisect import* 
from heapq import* 
from math import factorial
from copy import deepcopy
import sys

sys.setrecursionlimit(10**6)


def main():
    w,h,x,y,r=map(int,input().split())
    if all(0<=x+s<=w and 0<=y+t<=h for s,t in ((-r,0),(r,0),(0,r),(0,-r))):
        print("Yes")
    else:
        print("No")
if __name__ == '__main__':
    main()

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

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


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

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

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

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

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

Solution (Python):
a,b,c,d,e = input().split(" ")

W = int(a)
H = int(b)
x = int(c)
y = int(d)
r = int(e)

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

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

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

else:
    print("No")

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

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


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

circlePoints = [
    [x - r, y],
    [x + r, y],
    [x, y - r],
    [x, y + r]
]

isInRect = 'Yes'

for point in circlePoints:
    dx = point[0]
    dy = point[1]
    
    if (dx > W or dx < 0 or dy > H or dy < 0):
        isInRect = 'No'

print(isInRect)

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

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

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

Solution (Python):
W, H, x, y, r = list(map(int, input().split()))
dist1 = [W-x, x]
dist2 = [H-y, y]
dist3 = [sorted(dist1).pop(0), sorted(dist2).pop(0)]
if r <= sorted(dist3).pop(0):
    print("Yes")
else:
    print("No")

Solution (Python):

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

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

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

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

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

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

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

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

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

Solution (Python):

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

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

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

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

if left < 0 or right > W or bottom < 0 or top > H:
    print('No')
else:
    print('Yes')

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
def main():
    
    args = input().split(' ')
    args = [int(i) for i in args]

    W = args[0]
    H = args[1]
    x = args[2]
    y = args[3]
    r = args[4]
    flag = True

    
    if x-r<0 or x+r>W:
        flag = False

    
    if y-r<0 or y+r>H:
        flag = False

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

if __name__ == "__main__":
    main()

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

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

ans = "No"

if 0 <= x+r <= W and 0 <= x-r <= W:
	if 0 <= y+r <= H and 0 <= y-r <= H:
		ans="Yes"

print(ans)

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

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

Solution (Python):
if __name__ == '__main__':
	data = input().split()
	w = int(data[0])
	h = int(data[1])
	x = int(data[2])
	y = int(data[3])
	r = int(data[4])

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

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

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

west = x - r
east = x + r
north = y + r
south = y - r
isIn = True
if(west < 0):
    isIn = False
elif(east > W):
    isIn = False
elif(north > H):
    isIn = False
elif(south < 0):
    isIn = False

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

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

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

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

Solution (Python):

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

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

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

if x - r >= 0 and x + r <= width:
    ans_x = True
else:
    ans_x = False
    
if y - r >= 0 and y + r <= height:
    ans_y = True
else:
    ans_y = False
    
if ans_x and ans_y:
    print("Yes")
else:
    print("No")

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

    res = "Yes"

    if (x < r) or (y < r) or ((h - y) < r or (w - x) < r):  
        res = "No"

    return res

if __name__ == "__main__":
    print(inside_circle(input()))

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

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

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

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

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

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