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:
import sys
n = map(int, raw_input().split())
#n = raw_input().split()

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

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

Submission status: Wrong Answer

Solution code:
import sys
n = map(int, raw_input().split())

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

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

Submission status: Wrong Answer

Solution code:
import sys
n = map(int, raw_input().split())

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

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

Submission status: Wrong Answer

Solution code:
import sys
n = map(int, raw_input().split())

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

if r <= y and y <= H-r:
    if r <= x and x <= W-r:
        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 (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:
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 or (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:
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 or (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:
hoge = input().split()

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

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

Submission status: Wrong Answer

Solution code:
import warnings

data = map(float, raw_input().split())

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
num = raw_input()
num = num.split()
result = True
w, h, x, y, r = int(num[0]), int(num[1]), int(num[2]), int(num[3]), int(num[4])

if r > x and (x + r) > w:
	result = False

if r > y and (y + r) > h:
	result = False

if result:
	print "Yes"
else:
	print "No"

Submission status: Wrong Answer

Solution code:
num = raw_input()
num = num.split()
result = True
w, h, x, y, r = int(num[0]), int(num[1]), int(num[2]), int(num[3]), int(num[4])

if r >= x and (x + r) >= w:
	result = False

if r >= y and (y + r) >= h:
	result = False

if result:
	print "Yes"
else:
	print "No"

Submission status: Wrong Answer

Solution code:
num = raw_input()
num = num.split()
result = True
w, h, x, y, r = int(num[0]), int(num[1]), int(num[2]), int(num[3]), int(num[4])

if x <= r or (w - r) <= x:
	result = False

if y <= r or (h - r) <= y:
	result = False

if result:
	print "Yes"
else:
	print "No"

Submission status: Wrong Answer

Solution code:
X= raw_input().split()
if float(X[2]) + float(X[4]) < float(X[0])and float(X[2]) - float(X[4]) > 0 and float(X[3]) + float(X[4]) < float(X[1]) and float(X[3]) - float(X[4]) > 0:
    print "Yes"
else:
    print "No"

Submission status: Wrong Answer

Solution code:
W, H, x, y, r = map(int, raw_input().split())
right = x - r
left = x + r
top = y + r
bottom = y - r

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

Submission status: Wrong Answer

Solution code:
numbers = []
n = raw_input()
numbers = n.split(" ")
for i in range(5):
	numbers[i] = int(numbers[i])
W = numbers[0]
H = numbers[1]
x = numbers[2]
y = numbers[3]
r = numbers[4]

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/env python
# -*- coding: utf-8 -*-

var = raw_input().split()

var = map(int, var)

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

var = raw_input().split()

var = map(int, var)

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

var = raw_input().split()

var = map(int, var)

if 0 <= var[2] - var[4] or 0 <= var[3] - var[4]:
	print "No"
elif var[0] >= var[2] + var[4] or var[1] >= var[3] + var[4]:
	print "No"
else:
	print "Yes"

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
W,H,x,y,r=map(int,raw_input().split())
if not(-100<=x and y<=100 and 0<W<=100 and 0<H<=100 and 0<r<=100):
    print("Constraits Errand")
    exit()
elif x<=0 or y<=0 or  y-r<=H<=y+r or x-r<=W<=x+r:
    print("No")
    exit()
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
W,H,x,y,r=map(int,raw_input().split())
if not(-100<=x and y<=100 and 0<W<=100 and 0<H<=100 and 0<r<=100):
    print("Constraits Errand")
    exit()
elif x<=0 or y<=0 or  y-r<=H<=y+r or x-r<=W<=x+r or  y-r<=0<=y+r or x-r<=0<=x+r:
    print("No")
    exit()
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
W,H,x,y,r=map(int,raw_input().split())
if not(-100<=x and y<=100 and 0<W<=100 and 0<H<=100 and 0<r<=100):
    print("Constraits Errand")
    exit()
#elif x<=0 or y<=0 or  y-r<=H<=y+r or x-r<=W<=x+r or  y-r<=0<=y+r or x-r<=0<=x+r:
elif r<=x<=W+r and r<=y<= H+r:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
in_str = input().split(" ")
in_width = int(in_str[0])
in_hight = int(in_str[1])

in_x = int(in_str[2])
in_y = int(in_str[3])
in_r = int(in_str[4])

#x????????????
if 0 <= in_x - in_r & in_x + in_r <= in_width:
    #y????????????
    if 0 <= in_y - in_r & in_y + in_r <= in_hight:
        print("Yes")
    else:
        pass
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import sys

W,H,x,y,r = map(int,sys.stdin.readline().split())

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

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 2*r > w or 2*r >h:
 print "No"
else:
 if 0 < x + r < w and 0 < y + r < h:
  print "Yes"

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 2*r > w or 2*r >h:
 print "No"
else:
 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 = 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: Wrong Answer

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

Submission status: Wrong Answer

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

if x >= r and x <= W - x 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, raw_input().split())

if x > r and x < W - x 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, raw_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(x) for x in input().split()]
if (0 <= x-r <= W) and (0 <= x+r <= W):
    if(0 <= y-r <= H) and (0 <= 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 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,raw_input().split())

if (0 < x + r < W) and (0 < y + r < H) and (2 * r > W) and (2 * 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-r and x >= r and y <= H-r and 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 >=0 and y >= 0:
  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,x,y,r= map(int, raw_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:
x, y, r, W, H = map(int, raw_input().split())

if r < x and x < W - r:
 if r < y and y < H - r:
  print "Yes"

else:
 print "No"

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

if r < x and r < y 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, 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<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, raw_input().split())
if x+r<0 or y+r<0:
    print"No"

elif 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 2*r <= W and 2*r <= H:
    if W > 0 and H > 0:
        if x >= r and x <= W-r and y >= r and y <= H-r:
            print 'Yes'
    if W < 0 and H > 0:
        if x <= -r and x >= -W+r and y >= r and y <= H-r:
            print 'Yes'
    if W > 0 and H < 0:
        if x >= r and x <= W-r and y <= -r and y >= -H+r:
            print 'Yes'
    if W < 0 and H < 0:
        if x <= -r and x >= -W+r and y <= -r and y >= -H+r:
            print 'Yes'
print 'No'

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

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

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

Submission status: Wrong Answer

Solution code:
#coding: UTF-8

list = raw_input().split()

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

# x>r, y>r,x<(H-r), y<(h-r)

#rint "%d %d %d %d %d" %(W,H,x,y,r)
if x > r:
	if y > r:
		if x < (H -r):
			if y < (H-r):
				print "Yes"
			else:
				print "No"
		else:
			print"No"
	else:
		print "No"

else:
	print "No"

Submission status: Wrong Answer

Solution code:
#coding: UTF-8

l = raw_input().split()

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

# x>r, y>r,x<(H-r), y<(h-r)

#rint "%d %d %d %d %d" %(W,H,x,y,r)
if x > r:
	if y > r:
		if x < (H -r):
			if y < (H-r):
				print "Yes"
			else:
				print "No"
		else:
			print"No"
	else:
		print "No"

else:
	print "No"

Submission status: Wrong Answer

Solution code:
l = raw_input().split()

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

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

else:
	print "No"

Submission status: Wrong Answer

Solution code:
W,H,x,y,r = map(float,raw_input().split())
x_min = x-r
x_max=x+r
y_min=y-r
y_max=y+r

if x_min > 0 and y_min > 0 and x_max < W and y_max < H:
    print "Yes"
else:
    print "No"

Submission status: Wrong Answer

Solution code:
a=map(int,raw_input().split())
if 0<min(a[0],a[1],[4]) and max(a[0],a[1],a[4])<=100 and -100<=min(a[2],a[3]) and max(a[2],a[3])<=100:print("Yes")
else:print("No")

Submission status: Wrong Answer

Solution code:
a=map(int,raw_input().split())
if 0<min(a[0],a[1],a[4]) and max(a[0],a[1],a[4])<=100 and -100<=min(a[2],a[3]) and max(a[2],a[3])<=100:print("Yes")
else:print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
# encoding:utf-8
# W,H,x,y,r
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: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#coding:utf-8

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

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

Submission status: Wrong Answer

Solution code:
#coding:utf-8

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

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

Submission status: Wrong Answer

Solution code:
n=raw_input()
k=n.split(" ")

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

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

Submission status: Wrong Answer

Solution code:
n=raw_input()
k=n.split(" ")

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

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

Submission status: Wrong Answer

Solution code:
n=raw_input()
k=n.split(" ")

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

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

Submission status: Wrong Answer

Solution code:
n=raw_input()
k=n.split(" ")

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

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

Submission status: Wrong Answer

Solution code:
n=raw_input()
k=n.split(" ")

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

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

Submission status: Wrong Answer

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

if 0<=x-r<=W:
        if 0<=y-r<=H:
                print "Yes"
                f=1
if f==0:
        print "No"

Submission status: Wrong Answer

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

if 0<x-r<W:
        if 0<y-r<H:
                print "Yes"
                f=1
if f==0:
        print "No"

Submission status: Wrong Answer

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

if 0<x-r<=W:
        if 0<y-r<=H:
                print "Yes"
                f=1
if f==0:
        print "No"

Submission status: Wrong Answer

Solution code:
W,H,x,y,r = (int(i) for i in input().split())
answer = "Yes"

if x < 1 :
    answer = "No"
elif y < 1 :
    answer = "No"
elif x + r >= W :
    answer = "No"
elif y + r >= H :
    answer = "No"

print(answer)

Submission status: Wrong Answer

Solution code:
W,H,x,y,r = (int(i) for i in input().split())
answer = "Yes"

if x - r <= 0 :
    answer = "No"
elif y - r <= 0 :
    answer = "No"
elif x + r >= W :
    answer = "No"
elif y + r >= H :
    answer = "No"

print(answer)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys

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

Submission status: Wrong Answer

Solution code:
def mondai(W, H, x, y, r):
    if (x + r < 0 or
        x + r > W or
        y + r < 0 or
        y + r > H):
        print('No')
    else:
        print('Yes')

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

Submission status: Wrong Answer

Solution code:
# coding:utf-8
# ??????????????¢???????????????????????????

WHxyr = raw_input().split()

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

if 0 < x < W and 0 < y < H and 2*r < W and 2*r < H:
    print "Yes"
else:
    print "No"

Submission status: Wrong Answer

Solution code:
# coding:utf-8
# ??????????????¢???????????????????????????

WHxyr = raw_input().split()

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

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(min([x, y, w - x, w - y]) >= r):
    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)
elif W == x or H == y:
    print("No")

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

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main():
	nums = input().split(" ") 
	width, height, x, y, r =[int(i) for i in nums]
	if 0 < x - r and x + r < width and 0 < y - r and y + r < height:
		return "Yes"
	else:
		return "No"
if __name__ == '__main__':
  print(main())

Submission status: Wrong Answer

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

Solution code:
w ,h ,x ,y ,r = input().split(' ')
if int(x) < int(w) - int(r) and int(x) > int(r) and int(y) < int(h) - int(r) and int(y) > int(r):
	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])

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

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

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

Submission status: Wrong Answer

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

if H > 2*r > x > 0 and W > 2*r > y > 0:
    print("Yes")

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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