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: Wrong Answer

Solution code:
nums = input().split()

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

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: Wrong Answer

Solution code:
W, H, x, y, r = [int(1) for i in 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: Wrong Answer

Solution code:
W, H, x, y, r = [int(1) for i in 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: Wrong Answer

Solution code:
W, H, x, y, r = [int(1) for i in 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: Wrong Answer

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

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

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

else:
   print("No")

Submission status: Wrong Answer

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

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

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

else:
   print("No")

Submission status: Wrong Answer

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

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

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

else:
   print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
# coding: UTF-8
# ????????¢?????????????????????????????????????????????????????°????????????????????????????????????
# ????????¢?????????????????????????????¨??????????????????????????§?¨? (W,H) ????????????????????????
# ????????????????????????????????§?¨? (x,y) ??¨?????? r ??§?????????????????????

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: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
inl=map(int, raw_input().split())

if inl[0]>=inl[2]+inl[4] and inl[2]+inl[4]>=0 and inl[1]>=inl[3]+inl[4] and inl[3]+inl[4]>=0:
  print "Yes"
else:
  print "No"

Submission status: Wrong Answer

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

x_max=int(x+r)
x_min=int(x-r)
y_max=int(y+r)
y_min=int(y-r)

print(x_max,x_min,y_max,y_min)


if y_max >= w:
    print("No")
else:
    if y_min <= 0:
        print("No")
    else:
        if x_max >= h:
            print("No")
        else:
            if x_min <= 0:
                print("No")
            else:
                print("Yes")

Submission status: Wrong Answer

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

x_max=int(x+r)
x_min=int(x-r)
y_max=int(y+r)
y_min=int(y-r)

#print(x_max,x_min,y_max,y_min)


if y_max >= w:
    print("No")
else:
    if y_min <= 0:
        print("No")
    else:
        if x_max >= h:
            print("No")
        else:
            if x_min <= 0:
                print("No")
            else:
                print("Yes")

Submission status: Wrong Answer

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

x_max=int(x+r)
x_min=int(x-r)
y_max=int(y+r)
y_min=int(y-r)

#print(x_max,x_min,y_max,y_min)


if y_max > w:
    print("No")
else:
    if y_min < 0:
        print("No")
    else:
        if x_max > h:
            print("No")
        else:
            if x_min < 0:
                print("No")
            else:
                print("Yes")

Submission status: Wrong Answer

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

x_max=int(x+r)
x_min=int(x-r)
y_max=int(y+r)
y_min=int(y-r)

print(x_max,x_min,y_max,y_min)


if y_max > h:
    print("No")
else:
    if y_min < 0:
        print("No")
    else:
        if x_max > w:
            print("No")
        else:
            if x_min < 0:
                print("No")
            else:
                print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
input_line = input()
input_data = input_line.strip().split(' ')

W, H, x, y, r = [abs(int(i)) for i in input_data]

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

Submission status: Wrong Answer

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: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a,b,c,d,r=map(int,input().split())
a-=r*2
b-=r*2
c-=r
d-=r

if 0<c and 0<d and 0<a and 0<b:
	print("Yes")

Submission status: Wrong Answer

Solution code:
a,b,c,d,r=map(int,input().split())
a-=r*2
b-=r*2
c-=r
d-=r

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

Submission status: Wrong Answer

Solution code:
a,b,c,d,r=map(int,input().split())

if a>0:
	if c<0:
		print("No")
		exit()

if a<0:
	if c>0:
		print("No")
		exit()		

if b>0:
	if d<0:
		print("No")
		exit()

if b>0:
	if d<0:
		print("No")
		exit()

a-=r*2
b-=r*2
c-=r
d-=r

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

Submission status: Wrong Answer

Solution code:
a,b,c,d,r=map(int,input().split())

if a>0:
	if c<0:
		print("No")
		exit()

if a<0:
	if c>0:
		print("No")
		exit()		

if b>0:
	if d<0:
		print("No")
		exit()

if b>0:
	if d<0:
		print("No")
		exit()

a-=r*2
b-=r*2
c-=r
d-=r

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

Submission status: Wrong Answer

Solution code:
a,b,c,d,r=map(int,input().split())

if a>0:
	if c<0:
		print("No")
		exit()

if a<0:
	if c>0:
		print("No")
		exit()		

if b>0:
	if d<0:
		print("No")
		exit()

if b>0:
	if d<0:
		print("No")
		exit()

a=abs(a)
b=abs(b)
c=abs(c)
d=abs(d)

a-=r*2
b-=r*2
c-=r
d-=r

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

Submission status: Wrong Answer

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

if x-r<0 or x+r>W:
    print "No"
elif x-r>0 and x+r<W:
    print "Yes"

Submission status: Wrong Answer

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

if x - y < 0 or x + y > W:
    print "No"
elif x - y >= 0 and x + y < W:
    print "Yes"

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#coding: UTF-8

def Circle(W,H,x,y,r):
    if x < W - r and x > r and y < H-r and y > r:
        return "Yes"
    else:
        return "No"

if __name__=="__main__":
    a = input().split(" ")
    ans = Circle(int(a[0]),int(a[1]),int(a[2]),int(a[3]),int(a[4]))
    print(ans)

Submission status: Wrong Answer

Solution code:
list = map(int, raw_input().split())
x0 = list[2] - list[4]
y0 = list[3] - list[4]
x1 = list[2] + list[4]
y1 = list[3] + list[4]

if x0 > 0 and y0 > 0 and x1 < list[0] and y1 < list[1]:
    print "Yes"
else :
    print "No"

Submission status: Wrong Answer

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: Wrong Answer

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: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
m = map(int,raw_input().split())

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


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

Submission status: Wrong Answer

Solution code:
z = input()
a = z.split()
if a[2] > a[4] and a[3] > a[4] and a[0] > a[2]+a[4] and a[1] > a[3]+a[4]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
z = input()
a = z.split()
if a[2] >= a[4] and a[3] >= a[4] and a[0] >= a[2]+a[4] and a[1] >= a[3]+a[4]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Here your code !
w,h,x,y,r = input().split()

sx = int(w) - int(x)
sy = int(h) - int(y)

if(sx < 0):
    print('No')

elif(int(x) - int(r) < 0):
    print('No')

elif(sx > 0):
   
    if(sx < int(r)):
        print('No')
    
    elif(sx >= int(r)):
        
        if(sy < 0):
            print('No')
            
        elif(int(y) - int(r) < 0):
            print('No')
            
        elif(sy > 0):
            if(sy < int(r)):
                print('No')
                
            elif(sy >= int(r)):
                print('Yes')

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Here your code !
w,h,x,y,r = input().split()

sx = int(w) - int(x)
sy = int(h) - int(y)

if(sx < 0):
    print('No')
    
if(sx == 0):
    print('No')
    
if(sy == 0):
    print('No')

elif(int(x) - int(r) < 0):
    print('No')

elif(sx > 0):
   
    if(sx < int(r)):
        print('No')
    
    elif(sx >= int(r)):
        
        if(sy < 0):
            print('No')
            
        elif(int(y) - int(r) < 0):
            print('No')
            
        elif(sy > 0):
            if(sy < int(r)):
                print('No')
else:
    print('Yes')

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Here your code !
w,h,x,y,r = map(int,input().split())

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Here your code !
w,h,x,y,r = map(int,input().split())

if(w - (x + r) < 0):
    print('No')
    
elif(x <= 0):
    print('No')
    
elif(y <= 0):
    print('No')
    
elif(x / 2 < r):
    print('No')
    
elif(y / 2 < r):
    print('No')
    
elif(x - r < 0):
    print('No')
    
elif(r <= x <= w - r):
    
    if(h - (y + r) < 0):
        print('No')
    
    elif(y - r < 0):
        print('No')
        
    elif(r <= y <= h - r):
        print('Yes')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
W,H,x,y,r=map(int,input().split())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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: Wrong Answer

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

    # ???????????? W, H, x, y, r ??????
    W = int(data[0])
    H = int(data[1])
    x = int(data[2])
    y = int(data[3])
    r = int(data[4])

    result = False
    if r < x < W-r and r < y < H-r:
        result = True

    if result is True:
        print('Yes')
    else:
        print('No')

Submission status: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

list_1 = input().split(" ")
list_2 = list(map(int, list_1))

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

if abs(x - r) < abs(w) and abs(x + r) < abs(w):
    print("NO")
    sys.exit()

if abs(y - r) < abs(h) and abs(y + r) < abs(h):
    print("NO")
    sys.exit()

print("YES")

Submission status: Wrong Answer

Solution code:
import sys

list_1 = input().split(" ")
list_2 = list(map(int, list_1))

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

if not abs(x - r) < abs(w) and abs(x + r) < abs(w):
    print("NO")
    sys.exit()

if not abs(y - r) < abs(h) and abs(y + r) < abs(h):
    print("NO")
    sys.exit()

print("YES")

Submission status: Wrong Answer

Solution code:
import sys

list_1 = input().split(" ")
list_2 = list(map(int, list_1))

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

if not abs(x - r) < abs(w) and abs(x + r) < abs(w):
    print("No")
    sys.exit()

if not abs(y - r) < abs(h) and abs(y + r) < abs(h):
    print("No")
    sys.exit()

print("Yes")

Submission status: Wrong Answer

Solution code:
import sys

list_1 = input().split(" ")
list_2 = list(map(int, list_1))

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

if not (abs(x - r) < abs(w) and abs(x + r) < abs(w)):
    print("No")
    sys.exit()

if not (abs(y - r) < abs(h) and abs(y + r) < abs(h)):
    print("No")
    sys.exit()

print("Yes")

Submission status: Wrong Answer

Solution code:
import sys

list_1 = input().split(" ")
list_2 = list(map(int, list_1))

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

if not (abs(x - r) <= abs(w) and abs(x + r) <= abs(w)):
    print("No")
    sys.exit()

if not (abs(y - r) <= abs(h) and abs(y + r) <= abs(h)):
    print("No")
    sys.exit()

print("Yes")

Submission status: Wrong Answer

Solution code:
import sys

def checker_boy(x_r, n):
  if x_r == 0:
    return 0
  if n * x_r / x_r * x_r >= 0:
    pass
  else:
    print("No")
    sys.exit()


list_1 = input().split(" ")
list_2 = list(map(int, list_1))

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

checker_boy(x + r, w)
checker_boy(x - r, w)
checker_boy(y + r, h)
checker_boy(y - r, h)

print("Yes")

Submission status: Wrong Answer

Solution code:
import sys

def checker_boy(x_r, n):
  if x_r == 0:
    return 0
  if not n * x_r / x_r * x_r >= 0:
    print("No")
    sys.exit()


list_1 = input().split(" ")
list_2 = list(map(int, list_1))

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

checker_boy(x + r, w)
checker_boy(x - r, w)
checker_boy(y + r, h)
checker_boy(y - r, h)

print("Yes")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys

input_list = input().split(" ")
input_list = list(map(int, input_list))

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

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

print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
l=0
l = input().split()
W = int(l[0])
H = int(l[1])
x = int(l[2])
y = int(l[3])
r = int(l[4])
if W>x+r and H>y+r:
    print("YES")
elif W==x+r and H==y+r:
    print("YES")
elif W>x+r and H==y+r:
    print("YES")
elif W==x+r and H>y+r:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
x = input()
w, h, x, y, r = [n for n in x.split()]
if x + r <= w and y + r <= h:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
x = input()
w, h, x, y, r = [n for n in x.split()]
if x + r < w and y + r < h:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
x = input()
w, h, x, y, r = [int(n) for n in x.split()]
if max([w, h, x, y, r]) < 100:
    if x + r <= w and y + r <= h:
        print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
x = input()
w, h, x, y, r = [int(n) for n in x.split()]
if max([w, h, x, y, r]) < 100 and x + r <= w and y + r <= h:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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 < 0 or H < 0:
    print("No")

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
W,H,x,y,r = map(int,raw_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: Wrong Answer

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
W,H,x,y,r = map(int ,raw_input().split())
#print ' '.join(map(str,[W,H,x,y,r]))

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

Submission status: Wrong Answer

Solution code:
W,H,x,y,r = map(int ,raw_input().split())
#print ' '.join(map(str,[W,H,x,y,r]))

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

Submission status: Wrong Answer

Solution code:
W,H,x,y,r = map(int ,raw_input().split())
#print ' '.join(map(str,[W,H,x,y,r]))

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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