Problem:


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

Circle in a Rectangle

  Write a program which reads a rectangle and a circle, and determines whether the circle is arranged inside the rectangle. As shown in the following figures, the upper right coordinate $(W, H)$ of the rectangle and the central coordinate $(x, y)$ and radius $r$ of the circle are given.

Input

  Five integers $W$, $H$, $x$, $y$ and $r$ separated by a single space are given in a line.

Output

  Print "Yes" if the circle is placed inside the rectangle, otherwise "No" in a line.

Constraints

  
$ -100  \leq x, y \leq 100$

  
$ 0  < W, H, r \leq 100$

Sample Input 1

5 4 2 2 1

Sample Output 1

Yes

Sample Input 2

5 4 2 4 1

Sample Output 2

No



Sample input:
5 4 2 2 1


Sample output:
Yes

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
inputs = [int(s) for s in input().split()]
h_bool = (inputs[0] >= inputs[2] + inputs[4]) and \
            (inputs[2] - inputs[4] >= 0)
w_bool = (inputs[1] >= inputs[3] + inputs[4]) and \
            (inputs[3] - inputs[4] >= 0)

if h_bool and w_bool:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

w, h, x, y, r = (int(n) for n in sys.stdin.read().strip().split())

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

W -= r
H -= r

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

re = "No"

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a=input().split()
(W,H,x,y,r)=(int(i) for i in a)
c=W-r
d=H-r
if r<=x<=c:
    if r<=y<=d:
        print("Yes")
    else:
        print("No")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
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")
        sys.exit()
print("No")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

    for r in (-r, r):
        if not(0 <= x + r <= W) or not(0 <= y + r <= H):
            print("No")
            return
    print("Yes")

main()

Submission status: Accepted

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

Submission status: Accepted

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

if x <= 0 or y <= 0 or x >= W or y >= H:
    print('No')
    exit()

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

print('Yes')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

flg = 0

if x<r:
    flg+=1

if y<r:
    flg+=1

if W-r<x:
    flg+=1

if H-r<y:
    flg+=1

if flg==0:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

def f(px,py):#外ならtrue
    flag=False
    if px<0 or py<0 or px>w or py>h:
        flag=True
    return flag

if f(x-r,y-r) or f(x-r,y+r) or f(x+r,y-r) or f(x+r,y+r):
    ans=False
if ans:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
params_s = input()
params_a = params_s.split(' ')

params = [int(x) for x in params_a]

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

ll_x = r
ul_x = W - r
ll_y = r
ul_y = H - r

if (ll_x <= x & x <= ul_x) & (ll_y <= y & y <= ul_y):
  print("Yes")
else:
  print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

def main():

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

if __name__ == "__main__":

	main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Runtime Error

Solution code:
W=int(input())
H=int(input())
x=int(input())
y=int(input())
r=int(input())
if x-r<0||y-r<0||x+r>W||y+r>H :
    print("NO")
else:
    print("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 or y-r<0 or x+r>W or y+r>H :
    print("NO")
else:
    print("NO")

Submission status: Runtime Error

Solution code:
package main

import (
	"fmt"
)

func main(){
	var w, h, x, y, r int
	fmt.Scan(&w, &h, &x, &y, &r)
	if x + r <= W && x - r >= 0 && y + r <= H && y - r >= 0{
		fmt.Printf("Yes\n")
	} else {
		fmt.Printf("No\n")
	}
>}

Submission status: Runtime Error

Solution code:
package main

import (
	"fmt"
)

func main(){
	var w, h, x, y, r int
	fmt.Scan(&w, &h, &x, &y, &r)
	if (x + r) <= w && (x - r) >= 0 && (y + r) <= h && (y - r) >= 0{
		fmt.Println("Yes")
	} else {
		fmt.Println("No")
	}
}

Submission status: Runtime Error

Solution code:
# coding: utf-8
# Your code here!
W, H, x, y, r = map(int, raw_input().split())
if r <= x and r <= y and x+r <= W y+r <= H:
    print "Yes"
else:
    print "No"

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include <stdio.h>

int main(void)
{
    int W,H,x,y,r;
    scanf("%d %d %d %d %d",&W,&H,&x,&y,&r);

    if (x>=r && y>=r)
    {
        if (x+r<=W && y+r<=H)
        {
            printf("Yes");
        }
        else
        {
            printf("No");
        }
    }
    else
    {
        printf("No");
    }
    return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
Indata = [int(i) for i in input().split()]
W,H,x,y,r = int(i) for i in Indata
x_right = x+r
x_left = x-r
y_on = y+r
y_under = y-r

if x_right>W || x_left<0 || y_on>H || y_under<0:
    print("No")
else:
    print("Yes")

Submission status: Runtime Error

Solution code:
Indata = [int(i) for i in input().split()]
W,H,x,y,r = [int(i) for i in Indata]
x_right = x+r
x_left = x-r
y_on = y+r
y_under = y-r

if x_right>W || x_left<0 || y_on>H || y_under<0:
    print("No")
else:
    print("Yes")

Submission status: Runtime Error

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

w,h = W-r,h=r

if 0<x<w and 0<y<h: print('Yes')

else: print('No')

Submission status: Runtime Error

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

w,h = W-r,H=r

if 0<x<w and 0<y<h: print('Yes')

else: print('No')

Submission status: Runtime Error

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

w,h = W-r,H=r

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

else: print('No')

Submission status: Runtime Error

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

w,h = W-r,h=r

if x<0 and w<x and y<0 and h<y: print('No')

else: print('Yes')

Submission status: Runtime Error

Solution code:
string = input()
if x-r>0&y-r>0&x+r<W&y+r<H:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
string = input()
if x-r=>0&y-r=>0&x+r=<W&y+r=<H:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
def main():
    W,H,x,y,r=map(int,input().split())
    if W>=2*r AND H>=2*r AND W<=x+r AND H<=y+r:
        print('Yes')
    else:
        print('No')

if __name__=='__main__':
    main()

Submission status: Runtime Error

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

if __name__=='__main__':
    main()

Submission status: Runtime Error

Solution code:
You are not allowed to see this code.

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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 ((2*r <= (x+r) <= W) & (2*r <= (y+r) <= H):
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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


if x-r :
    print("No")
elif x + r :
    print ("No")
elif y-r :
    print ("No")
elif y+r :
    print ("No")
else:
    print ("Yes")

Submission status: Runtime Error

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


if x-r :
    print("No")
elif x + r :
    print ("No")
elif y-r :
    print ("No")
elif y+r :
    print ("No")
else:
    print ("Yes"

Submission status: Runtime Error

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

xLongLeft = x-r
xLongRight = x + r

yLongTop = y + r
yLongBot = y - r

if((xLongLeft >= 0 and yLongBot >= 0) and (xLongRight <= w and yLongTop <= h):
   print('Yes')
else:
   print('No')

Submission status: Runtime Error

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

xLongLeft = x-r
xLongRight = x + r

yLongTop = y + r
yLongBot = y - r

if((xLongLeft >= 0 and yLongBot >= 0) and (xLongRight <= w and yLongTop <= h)):
   print('Yes')
else:
   print('No')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
num = list(map(int,input().split))
 
circle_px = num[2] + num[4]
circle_mx = num[2] - num[4]

circle_py = num[3] + num[4]
circle_my = num[3] - num[4]

if(circle_px <= num[0] and circle_mx >= 0 and circle_py <= num[1] and circle_py >= 0): print("Yes")
else: print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
W, H, x, y, r = map(int, input(). split())
if 2*r >= W or 2*r >= H or x >= W or y >= 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 => r) and (h - r => y => r):
	print 'YES'
else:
	print 'NO'

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
w,h,x,y,z = map(int,raw_input().split())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
in = input().split(' ')

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

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

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

Submission status: Runtime Error

Solution code:
i = iinput().split(' ')

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

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().rstrip().split(' ')
W = int(w)
H = int(H)
x = int(x)
y = int(y)
r = int(r)

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