Buggy python submission (verdict: Runtime Error):
import numpy as np

if __name__=="__main__":
    inputs_number  = lambda : [int(x) for x in input().split()]
    N, Ma, Mb = inputs_number()
    drugs = [inputs_number() for i in range(N)]
    inf = 100*N + 1
    dp = np.ones((N+1,N*10+1,N*10+1)) * inf
    dp[0,0,0] = 0.0

    for i in range(N):
	for ca in range(N*10+1):
            for cb in range(N*10+1):
		if(dp[i,ca,cb]==inf):
                    continue
                dp[i+1,ca,cb]=np.min([dp[i+1,ca,cb],dp[i,ca,cb]])
                dp[i+1,ca+drugs[i][0],cb+drugs[i][1]]=np.min([dp[i+1,ca+drugs[i][0],cb+drugs[i][1]],dp[i,ca,cb]+drugs[i][2]])

Fixed submission:
if __name__=="__main__":
    a, b = list(map(int, input().split(" ")))
    if(a==1):
        a = 14
    if(b==1):
        b = 14
    if(a > b):
        print("Alice")
    elif(a == b):
        print("Draw")
    else:
        print("Bob")

Buggy python submission (verdict: Runtime Error):
import numpy as np

if __name__=="__main__":
    inputs_number  = lambda : [int(x) for x in input().split()]
    N, Ma, Mb = inputs_number()
    drugs = np.array([inputs_number() for i in range(N)])

    inf = 100*N + 1
    dp = np.ones((N,N*10,N*10)) * inf
    dp[0,0,0] = 0
    for i in range(0, N-1):
	for ca in range(N*10):
            for cb in range(N*10):
		if(dp[i,ca,cb]==inf):
                    continue
		dp[i+1,ca,cb]=np.min([dp[i+1,ca,cb],dp[i,ca,cb]]);
		dp[i+1,ca+drugs[i,0],cb+drugs[i,1]]=np.min([dp[i+1,ca+drugs[i,0],cb+drugs[i,1]],dp[i,ca,cb]+drugs[i,2]]);

    ans = inf
    for i in range(1, N):
	for ca in range(1, N*10):
            for cb in range(1, N*10):
		if(Ma*cb == Mb*ca and dp[i,ca,cb] < ans):
                    ans = dp[i,ca,cb]
    if(ans==inf):
	ans = -1
    print(int(ans))

Fixed submission:
if __name__=="__main__":
    a, b = list(map(int, input().split(" ")))
    if(a==1):
        a = 14
    if(b==1):
        b = 14
    if(a > b):
        print("Alice")
    elif(a == b):
        print("Draw")
    else:
        print("Bob")

Buggy python submission (verdict: Runtime Error):
if __name__=="__main__":
    a, b = list(map(int, input().split(" ")))
    if(a == 1):
	a = 14
    if(b == 1):
	b = 14
    if(a > b):
        print("Alice")
    elif(a == b):
        print("Draw")
    else:
        print("Bob")

Fixed submission:
if __name__=="__main__":
    a, b = list(map(int, input().split(" ")))
    if(a==1):
        a = 14
    if(b==1):
        b = 14
    if(a > b):
        print("Alice")
    elif(a == b):
        print("Draw")
    else:
        print("Bob")

Buggy python submission (verdict: Runtime Error):
import sys
if __name__=="__main__":
    a, b = list(map(int, input().split(" ")))
    if(a == 1):
	a = 14
    if(b == 1):
	b = 14
    if(a > b):
        sys.stdout.write("Alice")
    elif(a == b):
        sys.stdout.write("Draw")
    else:
        sys.stdout.write("Bob")

Fixed submission:
if __name__=="__main__":
    a, b = list(map(int, input().split(" ")))
    if(a==1):
        a = 14
    if(b==1):
        b = 14
    if(a > b):
        print("Alice")
    elif(a == b):
        print("Draw")
    else:
        print("Bob")

Buggy python submission (verdict: Runtime Error):
import sys
if __name__=="__main__":
    a, b = list(map(int, input().split(" ")))
    if(a > b):
	sys.stdout.write("Alice")
    elif(a == b):
	sys.stdout.write("Draw")
    else:
	sys.stdout.write("Bob")

Fixed submission:
if __name__=="__main__":
    a, b = list(map(int, input().split(" ")))
    if(a==1):
        a = 14
    if(b==1):
        b = 14
    if(a > b):
        print("Alice")
    elif(a == b):
        print("Draw")
    else:
        print("Bob")

Buggy python submission (verdict: Runtime Error):
import sys
if __name__=="__main__":
    a, b = list(map(int, input().replace("\n","").split(" ")))
    if(a > b):
	sys.stdout.write("Alice")
    elif(a == b):
	sys.stdout.write("Draw")
    else:
	sys.stdout.write("Bob")

Fixed submission:
if __name__=="__main__":
    a, b = list(map(int, input().split(" ")))
    if(a==1):
        a = 14
    if(b==1):
        b = 14
    if(a > b):
        print("Alice")
    elif(a == b):
        print("Draw")
    else:
        print("Bob")

Buggy python submission (verdict: Runtime Error):
#coding: utf-8

if __name__=="__main__":
    a, b = list(map(int, input().replace("\n","").split(" ")))
    if(a > b):
	print("Alice")
    elif(a == b):
	print("Draw")
    else:
	print("Bob")


Fixed submission:
if __name__=="__main__":
    a, b = list(map(int, input().split(" ")))
    if(a==1):
        a = 14
    if(b==1):
        b = 14
    if(a > b):
        print("Alice")
    elif(a == b):
        print("Draw")
    else:
        print("Bob")