Buggy python submission (verdict: Runtime Error):
a,b,c,d = map(int, input().split())

if abs(c-a) <= d:
	print(“Yes”)
elif abs(b-a) + abs(c-b) <= 2*d:
	print(“Yes”)
else:
	print(“No”)

Fixed submission:
a,b,c,d = map(int, input().split())

if abs(c-a) <= d:
	print('Yes')
elif abs(b-a) <= d and abs(c-b) <= d:
	print('Yes')
else:
	print('No')

Buggy python submission (verdict: Runtime Error):
a,b,c,d = map(int, input().split())

if abs(c-a) <= d:
	print(“Yes”)
elif abs(b-a) + abs(c-b) <= 2*d:
	print(“Yes”)
else:
	print(“No”)

Fixed submission:
a,b,c,d = map(int, input().split())

if abs(c-a) <= d:
	print('Yes')
elif abs(b-a) <= d and abs(c-b) <= d:
	print('Yes')
else:
	print('No')

Buggy python submission (verdict: Runtime Error):
a,b,c,d = (int(i) for i in input().split())

if abs(c-a) <= d:
	print(“Yes”)
elif abs(b-a) + abs(c-b) <= 2*d:
	print(“Yes”)
else:
	print(“No”)

Fixed submission:
a,b,c,d = map(int, input().split())

if abs(c-a) <= d:
	print('Yes')
elif abs(b-a) <= d and abs(c-b) <= d:
	print('Yes')
else:
	print('No')

Buggy python submission (verdict: Runtime Error):
N = [int(i) for i in input().split()]

if abs(N[2]-N[0]) <= N[3]:
	print(“Yes”)
elif abs(N[1]-N[0])+abs(N[2]-N[1]) <= 2*N[3]:
	print(“Yes”)
else:
	print(“No”)

Fixed submission:
a,b,c,d = map(int, input().split())

if abs(c-a) <= d:
	print('Yes')
elif abs(b-a) <= d and abs(c-b) <= d:
	print('Yes')
else:
	print('No')

Buggy python submission (verdict: Runtime Error):
N = [int(i) for i in input().split()]
     
if abs(N[2]-N[0]) <= N[3]:
	print(“Yes”)
elif abs(N[1]-N[0])+abs(N[2]-N[1]) <= 2*N[3]:
	print(“Yes”)
else:
	print(“No”)

Fixed submission:
a,b,c,d = map(int, input().split())

if abs(c-a) <= d:
	print('Yes')
elif abs(b-a) <= d and abs(c-b) <= d:
	print('Yes')
else:
	print('No')

Buggy python submission (verdict: Runtime Error):
N = [int(i) for i in input().split()]
     
if abs(N[2]-N[0]) <= N[3]:
  print(“Yes”)
elif abs(N[1]-N[0])+abs(N[2]-N[1]) <= 2*N[3]:
  print(“Yes”)
else:
  print(“No”)

Fixed submission:
a,b,c,d = map(int, input().split())

if abs(c-a) <= d:
	print('Yes')
elif abs(b-a) <= d and abs(c-b) <= d:
	print('Yes')
else:
	print('No')

Buggy python submission (verdict: Runtime Error):
N = list(int(i) for i in input().split())

if abs(N[2]-N[0]) <= N[3]:
	print(“Yes”)
elif abs(N[1]-N[0])+abs(N[2]-N[1]) <= 2*N[3]:
	print(“Yes”)
else:
	print(“No”)

Fixed submission:
a,b,c,d = map(int, input().split())

if abs(c-a) <= d:
	print('Yes')
elif abs(b-a) <= d and abs(c-b) <= d:
	print('Yes')
else:
	print('No')

Buggy python submission (verdict: Runtime Error):
N = map(int, input().split())

if abs(N[2]-N[0]) <= N[3]:
	print(“Yes”)
elif abs(N[1]-N[0])+abs(N[2]-N[1]) <= 2*N[3]:
	print(“Yes”)
else:
	print(“No”)

Fixed submission:
a,b,c,d = map(int, input().split())

if abs(c-a) <= d:
	print('Yes')
elif abs(b-a) <= d and abs(c-b) <= d:
	print('Yes')
else:
	print('No')

Buggy python submission (verdict: Runtime Error):
N = map(int, raw_input().split())

if abs(N[2]-N[0]) <= N[3]:
	print(“Yes”)
elif abs(N[1]-N[0])+abs(N[2]-N[1]) <= 2*N[3]:
	print(“Yes”)
else:
	print(“No”)

Fixed submission:
a,b,c,d = map(int, input().split())

if abs(c-a) <= d:
	print('Yes')
elif abs(b-a) <= d and abs(c-b) <= d:
	print('Yes')
else:
	print('No')

Buggy python submission (verdict: Runtime Error):
N = raw_input().split()

if abs(N[2]-N[0]) <= N[3]:
	print(“Yes”)
elif abs(N[1]-N[0])+abs(N[2]-N[1]) <= 2*N[3]:
	print(“Yes”)
else:
	print(“No”)

Fixed submission:
a,b,c,d = map(int, input().split())

if abs(c-a) <= d:
	print('Yes')
elif abs(b-a) <= d and abs(c-b) <= d:
	print('Yes')
else:
	print('No')

Buggy python submission (verdict: Runtime Error):
N = raw_input().split()

if N[2]-N[0] <= N[3]:
	print(“Yes”)
elif N[1]-N[0]+N[2]-N[1] <= 2*N[3]:
	print(“Yes”)
else:
	print(“No”)

Fixed submission:
a,b,c,d = map(int, input().split())

if abs(c-a) <= d:
	print('Yes')
elif abs(b-a) <= d and abs(c-b) <= d:
	print('Yes')
else:
	print('No')