Buggy python submission (verdict: Runtime Error):
A, B, C = map(int, input().split())
K= int(input()) 
 
 
if (B**K+1>A)&(C>B):
  print("Yes")
elif (B**(K)>A)&(C>B**2) :
  print("Yes")
elif (B**(K-1)>A)&(C>B**3) :
  print("Yes")
elif (B**(K-2)>A)&(C>B**4) :
  print("Yes")
elif (B**(K-3)>A)&(C>B**5) :
  print("Yes")
elif (B**(K-4)>A)&(C>B**6) :
  print("Yes")
elif (B**(K-5)>A)&(C>B**7) :
  print("Yes")
else :
  print("No")

Fixed submission:
s = int(input()) 
 
if 400 <= s <= 599:
  print("8")
elif  600 <= s <=799:
        print("7")
elif  800 <= s <=999:
        print("6")
elif  1000 <= s <=1199:
        print("5")
elif  1200 <= s <=1399:
        print("4")
elif  1400 <= s <=1599:
        print("3")
elif  1600 <= s <=1799:
        print("2")
elif  1800 <= s <=1999:
        print("1")

Buggy python submission (verdict: Runtime Error):
A, B, C = map(int, input().split())
K= int(input()) 
 
 
if (B**K>A)&(C>B):
  print("Yes")
elif (B**(K-1)>A)&(C>B**1) :
  print("Yes")
elif (B**(K-2)>A)&(C>B**2) :
  print("Yes")
elif (B**(K-3)>A)&(C>B**3) :
  print("Yes")
elif (B**(K-4)>A)&(C>B**4) :
  print("Yes")
elif (B**(K-5)>A)&(C>B**5) :
  print("Yes")
elif (B**(K-6)>A)&(C>B**6) :
  print("Yes")
else :
  print("No")

Fixed submission:
s = int(input()) 
 
if 400 <= s <= 599:
  print("8")
elif  600 <= s <=799:
        print("7")
elif  800 <= s <=999:
        print("6")
elif  1000 <= s <=1199:
        print("5")
elif  1200 <= s <=1399:
        print("4")
elif  1400 <= s <=1599:
        print("3")
elif  1600 <= s <=1799:
        print("2")
elif  1800 <= s <=1999:
        print("1")

Buggy python submission (verdict: Runtime Error):
A, B, C = map(int, input().split())
K= int(input()) 
 
 
if (B**K>A)&(C>B):
  print("Yes")
elif (B**(K-1)>A)&(C>B**1) :
  print("Yes")
elif (B**(K-2)>A)&(C>B**2) :
  print("Yes")
elif (B**(K-3)>A)&(C>B**3) :
  print("Yes")
elif (B**(K-4)>A)&(C>B**4) :
  print("Yes")
elif (B**(K-5)>A)&(C>B**5) :
  print("Yes")
elif (B**(K-6)>A)&(C>B**6) :
  print("Yes")
elif (B>A)&(C>B**7) :
  print("Yes")
else :
  print("No")

Fixed submission:
s = int(input()) 
 
if 400 <= s <= 599:
  print("8")
elif  600 <= s <=799:
        print("7")
elif  800 <= s <=999:
        print("6")
elif  1000 <= s <=1199:
        print("5")
elif  1200 <= s <=1399:
        print("4")
elif  1400 <= s <=1599:
        print("3")
elif  1600 <= s <=1799:
        print("2")
elif  1800 <= s <=1999:
        print("1")

Buggy python submission (verdict: Runtime Error):
A, B, C = map(int, input().split())
K= int(input()) 
 
 
if (B**K>A)&(C>B):
  print("Yes")
elif (B**(K-1)>A)&(C>B**1) :
  print("Yes")
elif (B**(K-2)>A)&(C>B**2) :
  print("Yes")
elif (B**(K-3)>A)&(C>B**3) :
  print("Yes")
elif (B**(K-4)>A)&(C>B**4) :
  print("Yes")
elif (B**(K-5)>A)&(C>B**5) :
  print("Yes")
elif (B**(K-6)>A)&(C>B**6) :
  print("Yes")
elif (B**(K-7)>A)&(C>B**7) :
  print("Yes")
else :
  print("No")

Fixed submission:
s = int(input()) 
 
if 400 <= s <= 599:
  print("8")
elif  600 <= s <=799:
        print("7")
elif  800 <= s <=999:
        print("6")
elif  1000 <= s <=1199:
        print("5")
elif  1200 <= s <=1399:
        print("4")
elif  1400 <= s <=1599:
        print("3")
elif  1600 <= s <=1799:
        print("2")
elif  1800 <= s <=1999:
        print("1")

Buggy python submission (verdict: Runtime Error):
A, B, C = map(int, input().split())
K= int(input()) 
 
 
for i in range(K):
  B=B*2
if (B>A)&(C>B):
  print("Yes")
else :
  print("No")

Fixed submission:
s = int(input()) 
 
if 400 <= s <= 599:
  print("8")
elif  600 <= s <=799:
        print("7")
elif  800 <= s <=999:
        print("6")
elif  1000 <= s <=1199:
        print("5")
elif  1200 <= s <=1399:
        print("4")
elif  1400 <= s <=1599:
        print("3")
elif  1600 <= s <=1799:
        print("2")
elif  1800 <= s <=1999:
        print("1")

Buggy python submission (verdict: Runtime Error):
A, B, C = map(int, input().split())
K= int(input()) 
 
 
for i in range(K):
  B=B*2
  if (B>A)&(C>B):
    print("Yes")
  else :
    print("No")

Fixed submission:
s = int(input()) 
 
if 400 <= s <= 599:
  print("8")
elif  600 <= s <=799:
        print("7")
elif  800 <= s <=999:
        print("6")
elif  1000 <= s <=1199:
        print("5")
elif  1200 <= s <=1399:
        print("4")
elif  1400 <= s <=1599:
        print("3")
elif  1600 <= s <=1799:
        print("2")
elif  1800 <= s <=1999:
        print("1")

Buggy python submission (verdict: Runtime Error):
A, B, C = map(int, input().split())
K= int(input()) 
 
 
for i in range(1,K+1):
  B=B*2
  if (B>A)&(C>B):
    print("Yes")
  else :
    print("No")

Fixed submission:
s = int(input()) 
 
if 400 <= s <= 599:
  print("8")
elif  600 <= s <=799:
        print("7")
elif  800 <= s <=999:
        print("6")
elif  1000 <= s <=1199:
        print("5")
elif  1200 <= s <=1399:
        print("4")
elif  1400 <= s <=1599:
        print("3")
elif  1600 <= s <=1799:
        print("2")
elif  1800 <= s <=1999:
        print("1")

Buggy python submission (verdict: Runtime Error):
s = int(input()) 
 
if 400 <= s < 599:
  print("8")
elif  600 <= s <799:
        print("7")
elif  800 <= s <999:
        print("6")
elif  1000 <= s <1199:
        print("5")
elif  1200 <= s <1399:
        print("4")
elif  1400 <= s <1599:
        print("3")
elif  1600 <= s <1799:
        print("2")
else  1800 <= s <1999:
        print("1")

Fixed submission:
s = int(input()) 
 
if 400 <= s <= 599:
  print("8")
elif  600 <= s <=799:
        print("7")
elif  800 <= s <=999:
        print("6")
elif  1000 <= s <=1199:
        print("5")
elif  1200 <= s <=1399:
        print("4")
elif  1400 <= s <=1599:
        print("3")
elif  1600 <= s <=1799:
        print("2")
elif  1800 <= s <=1999:
        print("1")

Buggy python submission (verdict: Runtime Error):
s = int(input()) 
 
if 400 <= s < 500:
  print("8")
elif  600 <= s <799:
  print("7")
elif  800 <= s <999:
  print("6")
elif  1000 <= s <1199:
  print("5")
elif  1200 <= s <1399:
  print("4")
elif  1400 <= s <1599:
  print("3")
elif  1600 <= s <1799:
  print("2")
else  1800 <= s <1999:
  print("1")

Fixed submission:
s = int(input()) 
 
if 400 <= s <= 599:
  print("8")
elif  600 <= s <=799:
        print("7")
elif  800 <= s <=999:
        print("6")
elif  1000 <= s <=1199:
        print("5")
elif  1200 <= s <=1399:
        print("4")
elif  1400 <= s <=1599:
        print("3")
elif  1600 <= s <=1799:
        print("2")
elif  1800 <= s <=1999:
        print("1")

Buggy python submission (verdict: Runtime Error):
s = int(input()) 
 
if 400 < s < 500:
  print("8")
elif  600 < s <799:
  print("7")
elif  800 < s <999:
  print("6")
elif  1000 < s <1199:
  print("5")
elif  1200 < s <1399:
  print("4")
elif  1400 < s <1599:
  print("3")
elif  1600 < s <1799:
  print("2")
else  1800 < s <1999:
  print("1")

Fixed submission:
s = int(input()) 
 
if 400 <= s <= 599:
  print("8")
elif  600 <= s <=799:
        print("7")
elif  800 <= s <=999:
        print("6")
elif  1000 <= s <=1199:
        print("5")
elif  1200 <= s <=1399:
        print("4")
elif  1400 <= s <=1599:
        print("3")
elif  1600 <= s <=1799:
        print("2")
elif  1800 <= s <=1999:
        print("1")