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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Solution code:
W,H,x,y,r = map(int,raw_input())
if x + r <= w and y + r <= H:
  print "Yes"
else:
  print "No"

Submission status: Runtime Error

Solution code:
W,H,x,y,r = map(int,raw_input())
if x + r <= W and y + r <= H:
  print "Yes"
else:
  print "No"

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
def circle_in_rectangle(radius, pos, height, width):
    """
    radius: float
    pos: tuple, (x, y)
    height: float, height of rectangle
    width: float, width of rectangle

    returns True if circle is in rectangle, otherwise False

    >>> circle_in_rectangle(1, (1, 1), 4, 5)
    True
    >>> circle_in_rectangle(1, (2, 4), 4, 5)
    False
    """
    (x, y) = pos
    if x < radius or x > width - radius:
        return False

    if y < radius or y > height - radius:
        return False

    return True

(w, h, x, y, r) = input().split(' ')
if circle_in_rectangle(r, (x, y), h, w):
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
def circle_in_rectangle(radius, pos, height, width):
    """
    radius: float
    pos: tuple, (x, y)
    height: float, height of rectangle
    width: float, width of rectangle

    returns True if circle is in rectangle, otherwise False

    >>> circle_in_rectangle(1, (1, 1), 4, 5)
    True
    >>> circle_in_rectangle(1, (2, 4), 4, 5)
    False
    """
    (x, y) = pos
    if x < radius or x > width - radius:
        return False

    if y < radius or y > height - radius:
        return False

    return True

if __name__ == '__main__':

    (w, h, x, y, r) = input('input 5 numbers: ').split(' ')

    if circle_in_rectangle(r, (x, y), h, w):
        print('Yes')
    else:
        print('No')

Submission status: Runtime Error

Solution code:
def circle_in_rectangle(radius, pos, height, width):
    """ 
    radius: float
    pos: tuple, (x, y)
    height: float, height of rectangle
    width: float, width of rectangle

    returns True if circle is in rectangle, otherwise False
    """
    (x, y) = pos 
    if x < radius or x > width - radius:
        return False

    if y < radius or y > height - radius:
        return False

    return True

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

    if circle_in_rectangle(r, (x, y), h, w): 
        print('Yes')
    else:
        print('No')

Submission status: Runtime Error

Solution code:
def circle_in_rectangle(radius, pos, height, width):
    """ 
    radius: float
    pos: tuple, (x, y)
    height: float, height of rectangle
    width: float, width of rectangle

    returns True if circle is in rectangle, otherwise False
    """
    (x, y) = pos 
    if x < radius or x > width - radius:
        return False

    if y < radius or y > height - radius:
        return False

    return True

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

if circle_in_rectangle(r, (x, y), h, w):
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
def circle_in_rectangle(radius, pos, height, width):
    """ 
    radius: int
    pos: tuple, (x, y)
    height: int, height of rectangle
    width: int, width of rectangle

    returns True if circle is in rectangle, otherwise False

    >>> circle_in_rectangle(1, (1, 1), 4, 5)
    True
    >>> circle_in_rectangle(1, (2, 4), 4, 5)
    False
    """
    (x, y) = pos 
    if x < radius or x > width - radius:
        return False

    if y < radius or y > height - radius:
        return False

    return True

if __name__ == '__main__':

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

    if circle_in_rectangle(int(r), (int(x), int(y)), int(h), int(w)):
        print('Yes')
    else:
        print('No')
~

Submission status: Runtime Error

Solution code:
#!usr/bin/env python3

def string_five_numbers_spliter():
    """Split a given space-separated five numbers in a string into integers

    Return five integer values from a given space-separated five integers in a string.

    Returns:
        Five integer values; namely, w, h, x, y and r
    """
    w, h, x, y, r = [int(i) for i in input().split()]
    return w, h, x, y, r


def main():
    # Given that there are a rectangle and a circle.
    # Let w, h, x, y and r be such that:
    # w = width of the rectangle
    # h = height of thek rectangle
    # x = x coordinate for the centre of the circle
    # y = y coordinate for the centre of the circle
    # r = diameter of the circle
    w, h, x, y, r = string_five_numbers_spliter()

    if not (x + r < 0) and not (y + r < 0) and
        not (x + r > w) and not (y + r > h):
        print('yes')
    else:
        print('no')

Submission status: Runtime Error

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

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

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

Submission status: Runtime Error

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: Runtime Error

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: Runtime Error

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: Runtime Error

Solution code:
5 4 2 4 1

Submission status: Runtime Error

Solution code:
W,H,x,y,r=map(int,input().split())
x+r<W&&r<x&&r<y&&y+r<H?print "Yes":print "No"

Submission status: Runtime Error

Solution code:
W,H,x,y,r=map(int,input().split())
print x+r<W&&r<x&&r<y&&y+r<H?"Yes":"No"

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#coding:UTF-8
s = input().split()
w=int(s[0])
h=int(s[1])
x=int(s[2])
y=int(s[3])
r=int(s[4])

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
a = []
for i in range(5):
    a.append(i)
W = int(a[0])
H = int(a[1])
x = int(a[2])
y = int([3])
r = int(a[4])

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

Submission status: Runtime Error

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: Runtime Error

Solution code:
a = []
for i in range(5):
    a.append(input())
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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

Solution code:

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

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

Submission status: Runtime Error

Solution code:
W,H,x,y,z = 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: Runtime Error

Solution code:
W,H,x,y,z = 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: Runtime Error

Solution code:
W,H,x,y,z = 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: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
W = 5
H = 4
x = 2
y = 2
r = 1
 
if W > H > r:
    print ("Yes")
else W < H <r:
    print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
W,H,x,y,r = list(map(int,input().split()))
 if 0 <= x - r or x - r < x + r
  print('yes')
 elif 0 <= y - r or y - r <= y + r:
  print('yes')
 else:
  print('no')

Submission status: Runtime Error

Solution code:
W,H,x,y,r = list(map(int,input().split()))
 if 0 <= x - r or x - r < x + r:
  print('yes')
 elif 0 <= y - r or y - r <= y + r:
  print('yes')
 else:
  print('no')

Submission status: Runtime Error

Solution code:
W,H,r,x,y = list(map(int,input().split()))
if 0 <= r - x <= r + x and 0 <= y - r <= y + r:
 print('yes')
else:
 prtin('no')

Submission status: Runtime Error

Solution code:
W,H,r,x,y = list(map(int,input().split()))
if 0 <= r - x <= r + x = W and 0 <= y - r <= y + r: = H
 print('yes')
else:
 prtin('no')

Submission status: Runtime Error

Solution code:
W,H,r,x,y = list(map(int,input().split()))
if 0 <= r - x <= r + x = W and 0 <= y - r <= y + r = H:
 print('yes')
else:
 prtin('no')

Submission status: Runtime Error

Solution code:
W, H, r, x ,y = list(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: Runtime Error

Solution code:
W, H, r, x ,y = list(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: Runtime Error

Solution code:
W, H, r, x ,y = list(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: Runtime Error

Solution code:
W, H, r, x ,y = list(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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
return

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

if (r > x) or (r > w-x) or (r > y) or (r > H-y):
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
list = map(int,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: Runtime Error

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: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
W, H, x, y, r = 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: Runtime Error

Solution code:
def pred(W, H, x, y, r)
    if x - r < 0 or y - r < 0 or x + r > W or y + r > H:
        return False
    else:
        return True

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

print("Yes" if pred(*a) else "No")

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
W,H,x,y,r = 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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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)

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

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: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
W=int(input())
H=int(input())
x=int(input())
y=int(input())
r=int(input())

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# AOJ Circle in a Rctangle

def main() :
    W = input().split()[0]
    H = input().split()[1]
    x = input().split()[2]
    y = input().split()[3]
    r = input().split()[4]

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

if __name__ == '__main__' :
    main()

Submission status: Runtime Error

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

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

if __name__ == '__main__' :
    main()

Submission status: Runtime Error

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


    if (x-r>= 0, x+r <= w , y-r >=0, y+r <= H) 
        print("YES")
    else
        print("No")

    if __name__ == '__main__' :
        main()

Submission status: Runtime Error

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


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

    if __name__ == '__main__' :
        main()

Submission status: Runtime Error

Solution code:
def main():
    W, H, x, y, r = [int(i) for i in input().split()]
    if x-r >= 0, x+r <= w , y-r >= 0, y+r <= H :
        print("YES")
    else
        print("No")
    if __name__ == '__main__' :
        main()

Submission status: Runtime Error

Solution code:
def main():
    W, H, x, y, r = [int(i) for i in input().split()]
    if x-r >= 0, x+r <= w , y-r >= 0, y+r <= H :
        print("Yse")
    else
        print("No")
    if __name__ == '__main__' :
        main()

Submission status: Runtime Error

Solution code:
def main():
    W, H, x, y, r = [int(i) for i in input().split()]
    if x-r >= 0, x+r <= w , y-r >= 0, y+r <= H :
        print("Yes")
    else :
        print("No")
    if __name__ == '__main__' :
        main()

Submission status: Runtime Error

Solution code:
def main():
    W, H, x, y, r = [int(i) for i in input().split()]
    if x-r >= 0 and x+r <= w and  y-r >= 0,and y+r <= H :
        print("Yes")
    else :
        print("No")
    if __name__ == '__main__' :
        main()

Submission status: Runtime Error

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

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

if __name__ == '__main__' :
    main()

Submission status: Runtime Error

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

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

if __name__ == '__main__' :
    main()

Submission status: Runtime Error

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

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

if __name__ == '__main__' :
    main()

Submission status: Runtime Error

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: Runtime Error

Solution code:
if __name__ == '__main__':
	l = input().split()
	
	for i in range(l):
		l[i] = int(l[i])
	W, H, x, y, r = (l[i] for i in range(5))

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

Submission status: Runtime Error

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

	for i in range(l):
		l[i] = int(l[i])
	W, H, x, y, r = (l[i] for i in range(5))

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

Submission status: Runtime Error

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

	for i in range(l):
		l[i] = int(l[i])
	(W, H, x, y, r) = (l[i] for i in range(5))

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

Submission status: Runtime Error

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

	for i in range(l):
		l[i] = int(l[i])
	(W, H, x, y, r) = (l[i] for i in range(5))

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

Submission status: Runtime Error

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

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

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

Submission status: Runtime Error

Solution code:
WHxyr = list(map(int, input(),split()))
x_max = WHxyr[0] - WHxyr[4]
y_max = WHxyr[1] - WHxyr[4]
if x >= r and x <= x_max:
    if y >= r and y <= y_max:
        print("Yes")
    else:
        print("No")
else:
    print("No")

Submission status: Runtime Error

Solution code:

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

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

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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