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

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

Submission status: Wrong Answer

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

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

flag = 'No'

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

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

print(flag)

Submission status: Wrong Answer

Solution code:
def in_rectangle(w, h, x, y, r):
    # ?????????????????????
    left = x - r
    right = x + r
    floor = y - r
    ceil = y + r

    if 0 < left and right < w and 0 < floor and ceil < h:
        return True

    return False

w, h, x, y, r = map(int, input().split())
if in_rectangle(w, h, x, y, r):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Here your code !
import math

def func():
    try:
        line=input().rstrip()
        numbers=line.split(" ")
        
        width=float(numbers[0])
        height=float(numbers[1])
        x=float(numbers[2])
        y=float(numbers[3])
        r=abs(float(numbers[4]))
        
    except:
        print("input error")
        return -1
    
    wsign=math.copysign(1,width)
    hsign=math.copysign(1,height)
    
    result=(abs(x)+r <= wsign*width)
    result=result and (abs(x)-r >= 0)
    result=result and (abs(y)+r <= hsign*height)
    result=result and (abs(y)-r >= 0)
    
    if result:
        print("Yes")
    else:
        print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:


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


if __name__ == '__main__':
    N = input().split(" ")
    l = []
    for i in N:
        l.append(int(i))
    CinR(l)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
def main(arg):
    arg = str(arg)
    w, h, x, y, r = [int(x)for x in arg.split(" ")]
    if (y+r) < w and (x+r) < h and r < x and r < y:
        return "Yes"
    return "No"

if __name__ == '__main__':
    print(main(input()))

Submission status: Wrong Answer

Solution code:
def main(arg):
    arg = str(arg)
    w, h, x, y, r = [int(x)for x in arg.split(" ")]
    if (y+r) <= w and (x+r) <= h and r <= x and r <= y:
        return "Yes"
    return "No"

if __name__ == '__main__':
    print(main(input()))

Submission status: Wrong Answer

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

if x[2]-x[3]<0 or x[2]+x[4]>x[0] or x[3]-x[4]<0 or x[3]+x[4]:
	print"No"
else:print"Yes"

Submission status: Wrong Answer

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

Solution code:
num = input().split(" ")
rec_vertex = [int(num[0]),int(num[1])]
circle_origin = [int(num[2]),int(num[3])]
circle_rad = int(num[4])

if rec_vertex[0] <= circle_origin[0] or rec_vertex[1] <= circle_origin[1]:
    print("No")
elif rec_vertex[0] - (circle_origin[0] + circle_rad) and rec_vertex[1] - (circle_origin[1] + circle_rad):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
num = input().split(" ")
rec_vertex = [int(num[0]),int(num[1])]
circle_origin = [int(num[2]),int(num[3])]
circle_rad = int(num[4])

if rec_vertex[0] <= circle_origin[0] or rec_vertex[1] <= circle_origin[1]:
    print("No")
elif rec_vertex[0] - (circle_origin[0] + circle_rad) and rec_vertex[1] - (circle_origin[1] + circle_rad) > 0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
num = input().split(" ")
rec_vertex = [int(num[0]),int(num[1])]
circle_origin = [int(num[2]),int(num[3])]
circle_rad = int(num[4])

if rec_vertex[0] <= circle_origin[0] or rec_vertex[1] <= circle_origin[1]:
    print("No")
elif rec_vertex[0] - (circle_origin[0] + circle_rad) > 0 and rec_vertex[1] - (circle_origin[1] + circle_rad) > 0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
num = input().split(" ")
rec_vertex = [int(num[0]),int(num[1])]
circle_origin = [int(num[2]),int(num[3])]
circle_rad = int(num[4])

if rec_vertex[0] <= circle_origin[0] or rec_vertex[1] <= circle_origin[1]:
    print("No")
elif rec_vertex[0] - (circle_origin[0] + circle_rad) >= 0 and rec_vertex[1] - (circle_origin[1] + circle_rad) >= 0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
W, H, x, y, r = [int(i) for i in "5 4 2 2 1".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 = [int(i) for i 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 = [int(i) for i 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 = [int(i) for i 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 = [int(i) for i in input().split()]
if r < x < W - r and r < y < H - r:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
print("Yes")

Submission status: Wrong Answer

Solution code:
print("No")

Submission status: Wrong Answer

Solution code:
print("Yes")
print("No")

Submission status: Wrong Answer

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

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: 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 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:
#!/usr/bin/python

W, H, x, y, r = (int(i) for i in input().split())

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

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

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

Submission status: Wrong Answer

Solution code:
s=input().rstrip().split(' ')
W=int(s[0])
H=int(s[1])
x=int(s[2])
y=int(s[3])
r=int(s[4])
cx=W-r
cy=H-r
if cx >= x & cy >= y:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s=input().rstrip().split(' ')
W=int(s[0])
H=int(s[1])
x=int(s[2])
y=int(s[3])
r=int(s[4])
cx=W-r
cy=H-r
if cx>=x & x>=r:
    if cy>=y & y>=r:
        print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

res = 'No'
# x??§?¨??????????
if(r < x < W-r):
    # y??§?¨??????????
    if(r < y < H-r):
        res = 'Yes'
print(res)

Submission status: Wrong Answer

Solution code:
hoge = input().split()
W = int(hoge[0])
H = int(hoge[1])
x = int(hoge[2])
y = int(hoge[3])
r = int(hoge[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 = [int(i) for i in input().split()]
if x<r or y<r or W<(x+r) or H<(x+r):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
W = 5
H = 4
x = 2
y = 2
r = 1

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Solution code:
#! python3

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
Arr = []
Arr = input().split()
for i in range(5):
    Arr[i] = int(Arr[i])
L = []
L.append([0,0])
L.append([Arr[0],Arr[1]])
for i in range(0, 2, 1):
    for j in range(0,2,1):
        if(abs(L[i][j]-Arr[2+j]))>Arr[4]:
            print('No')
            exit
print("Yes")

Submission status: Wrong Answer

Solution code:
def main(input):
    Arr = []
    Arr = input.split()
    for i in range(5):
        Arr[i] = int(Arr[i])
    L = []
    L.append([0,0])
    L.append([Arr[0],Arr[1]])
    for i in range(0, 2, 1):
        for j in range(0,2,1):
            if(abs(L[i][j]-Arr[2+j]))<Arr[4]:
                print('No')
                return
    print("Yes")

main(input())

Submission status: Wrong Answer

Solution code:

def main(input):
    Arr = []
    Arr = input.split()
    for i in range(5):
        Arr[i] = int(Arr[i])
    L = []
    L.append([0,0])
    L.append([Arr[0],Arr[1]])
    for i in range(0, 2, 1):
        for j in range(0,2,1):
            if(abs(L[i][j]-Arr[2+j]))<=Arr[4]:
                print('No')
                return
    print("Yes")

main(input())

Submission status: Wrong Answer

Solution code:

def main(input):
    Arr = []
    Arr = input.split()
    for i in range(5):
        Arr[i] = int(Arr[i])
    L = []
    L.append([0,0])
    L.append([Arr[0],Arr[1]])
    for i in range(0, 2, 1):
        for j in range(0,2,1):
            if((-1)**(j-1)*(L[i][j]-Arr[2+j]))<Arr[4]:
                print('No')
                return
    print("Yes")

main(input())

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Solution code:
### 17.07.2017
### ???W ??????H???????????¢?????????r ??§?¨?(x,y)???????????????????????????????????\??????

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

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

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

def YesOrNo(W, H , x, y, r):
	Xr = x + r
	Xl = x - r
	Yu = y + r
	Yd = y - r
	if (W >= Xr and H >= Yu and 0 >= Xl and 0 >= Yd):
		return "Yes"
	else:
		return "No"

print(YesOrNo(W, H, x, y, r))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if w >= xr and h >= yr:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

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

if w >= xr and h >= yr:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

if xr in range(0,w+1):
    if yr in range(h+1):
        print('Yes')
    else:
        print('No')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
w, h, x, y, r = map(int, input().split())
xr = x + r
xl = x + r
yu = y + r
yd = y + r


if x < 0 or y < 0:
    print('No')
elif xr in range(w) and xl in range(w):
    if yu in range(h) and yd in range(h):
        print('Yes')
    else:
        print('No')
else:
    print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

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 0 < x - r and 0 < y - r:
    print "Yes"
else:
    print "No"

Submission status: Wrong Answer

Solution code:
# Aizu Problem ITP_1_2_D: Circle in an Rectangle
#
import sys, math, os

# read input:
PYDEV = os.environ.get('PYDEV')
if PYDEV=="True":
    sys.stdin = open("sample-input.txt", "rt")

def circle_in_rectangle(W, H, x, y, r):
    return W >= 2 * r and x >= r and x <= W - r and \
           H >= 2 * y and y >= r and y <= H - r
    
W, H, x, y, r = [int(_) for _ in input().split()]
print("Yes" if circle_in_rectangle(W, H, x, y, r) else "No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

answer = True

if x - r < 0:
    answer = False
if x + r > W:
    answer = False
if y - r < 0:
    answer = False
if y + r > H:
    answer = False

print(answer)

Submission status: Wrong Answer

Solution code:
w,h,x,y,r = map(int,input().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(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<0 or y<0):
    print("No")

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

elif W==H<x==y==r:
  print("No")

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

elif W==H>x==y==r :
  print("Yes")

elif W==H<x==y==r:
  print("No")

elif W==H==x>y==r:
  print("No")

elif W==H==x<y==r:
  print("Yes")

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

Submission status: Wrong Answer

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

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