Buggy python submission (verdict: Runtime Error):
a, b, c, d=map(int,input().split)
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d or k3<=d:
  print("Yes")
else:
  print("No")

Fixed submission:
a, b, c, d=map(int,input().split())
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d and k3<=d:
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
a, b, c, d=map(int,input().split)
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d || k2<=d:
  print("Yes")
else:
  print("No")

Fixed submission:
a, b, c, d=map(int,input().split())
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d and k3<=d:
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
a, b, c, d=map(int,input().split())
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d or k2<=d:
  print("Yes")
else print("No")

Fixed submission:
a, b, c, d=map(int,input().split())
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d and k3<=d:
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
a, b, c, d=map(int,input().split())
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d || k2<=d:
  print("Yes")
else print("No")

Fixed submission:
a, b, c, d=map(int,input().split())
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d and k3<=d:
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
a, b, c, d=map(int,input().split)
print("Yes" if abs(a-c)<=d or abs(a-b)<=d and abs(b-c)<=d else "No")

Fixed submission:
a, b, c, d=map(int,input().split())
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d and k3<=d:
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
a, b, c, d=map(int,input().split)
k1=int(abs(a-b))
k2=int(abs(a-c))
k3=int(abs(b-c))
print("Yes" if k2<=d or k1<=d and k3<=d else "No")

Fixed submission:
a, b, c, d=map(int,input().split())
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d and k3<=d:
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
a, b, c, d=map(int,input().split)
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d || k2<=d:
  print("Yes")
else print("No")

Fixed submission:
a, b, c, d=map(int,input().split())
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d and k3<=d:
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
a, b, c, d=map(int,input().split)
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d || k2<=d:
  print("Yes")
else print("No")

Fixed submission:
a, b, c, d=map(int,input().split())
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d and k3<=d:
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
a, b, c, d=map(int,input().split)
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d or k2<=d:
  print("Yes")
else print("No")

Fixed submission:
a, b, c, d=map(int,input().split())
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d and k3<=d:
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
a, b, c, d=map(int,input().split)
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d || k2<=d:
  print("Yes")
else print("No")

Fixed submission:
a, b, c, d=map(int,input().split())
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d and k3<=d:
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
a, b, c, d=map(int,input().split)
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if (k2<d):
  print("Yes")
elif (k1<=d || k2<=d):
  print("Yes")
else print("No")

Fixed submission:
a, b, c, d=map(int,input().split())
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d and k3<=d:
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
a, b, c, d=map(int,input().split)
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if (k2<=d):
  print("Yes")
elif (k1<=d || k2<=d):
  print("Yes")
else print("No")

Fixed submission:
a, b, c, d=map(int,input().split())
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d and k3<=d:
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
a, b, c, d=map(int,input().split)
k1=abs(a,b)
k2=abs(a,c)
k3=abs(b,c)
if (k2<=d):
  print("Yes")
elif (k1<=d || k2<=d):
  print("Yes")
else print("No")

Fixed submission:
a, b, c, d=map(int,input().split())
k1=abs(a-b)
k2=abs(a-c)
k3=abs(b-c)
if k2<=d:
  print("Yes")
elif k1<=d and k3<=d:
  print("Yes")
else:
  print("No")