Buggy python submission (verdict: Runtime Error):
i = 0

while i == 0:
    x = raw_input()
    a, op, b = x.split()
    a = int(a)
    b = int(b)
    
    if op == "+":
        print a+b
    elif op == "-":
        print a-b
    elif op == "*":
        print a*b
    elif op == "/":
        print a/b
    elif op == "?":
        i == 1

Fixed submission:
i = 1

while i == 1:
    x = raw_input()
    a, op, b = x.split(" ")
    a = int(a)
    b = int(b)
    
    if op == "?":
        i = 0
    elif op == "+":
        print ("%d" %(a+b))
    elif op == "-":
        print ("%d" %(a-b))
    elif op == "*":
        print ("%d" %(a*b))
    else:
        print("%d" %(a/b))

Buggy python submission (verdict: Runtime Error):

    x = raw_input()
    a, op, b = x.split()
    a = int(a)
    b = int(b)
    
    if op == "+":
        print a+b
    elif op == "-":
        print a-b
    elif op == "*":
        print a*b
    elif op == "/":
        print a/b
    elif op == "?":
        i == 1

Fixed submission:
i = 1

while i == 1:
    x = raw_input()
    a, op, b = x.split(" ")
    a = int(a)
    b = int(b)
    
    if op == "?":
        i = 0
    elif op == "+":
        print ("%d" %(a+b))
    elif op == "-":
        print ("%d" %(a-b))
    elif op == "*":
        print ("%d" %(a*b))
    else:
        print("%d" %(a/b))

Buggy python submission (verdict: Runtime Error):
i = 0

while i == 0:
    x = raw_input()
    a, op, b = x.split()
    a = int(a)
    b = int(b)
    
    if op == "+":
        print a+b
    elif op == "-":
        print a-b
    elif op == "*":
        print a*b
    elif op == "/":
        print a/b
    elif op == "?":
        i == 1
????????????break

Fixed submission:
i = 1

while i == 1:
    x = raw_input()
    a, op, b = x.split(" ")
    a = int(a)
    b = int(b)
    
    if op == "?":
        i = 0
    elif op == "+":
        print ("%d" %(a+b))
    elif op == "-":
        print ("%d" %(a-b))
    elif op == "*":
        print ("%d" %(a*b))
    else:
        print("%d" %(a/b))

Buggy python submission (verdict: Runtime Error):
i = 0

while i == 0:
    x = raw_input()
    a, op, b = x.split()
    a = int(a)
    b = int(b)
    
    if op == "+":
        print ("%d" &(a+b))
    elif op == "-":
        print ("%d" &(a-b))
    elif op == "*":
        print ("%d" &(a*b))
    elif op == "/":
        print ("%d" &(a/b))
    elif op == "?":
        i == 1

Fixed submission:
i = 1

while i == 1:
    x = raw_input()
    a, op, b = x.split(" ")
    a = int(a)
    b = int(b)
    
    if op == "?":
        i = 0
    elif op == "+":
        print ("%d" %(a+b))
    elif op == "-":
        print ("%d" %(a-b))
    elif op == "*":
        print ("%d" %(a*b))
    else:
        print("%d" %(a/b))

Buggy python submission (verdict: Runtime Error):
i = 0

while i == 0:
    x = raw_input()
    a, op, b = x.split()
    a = int(a)
    b = int(b)
    
    if op == "+":
        print ("%d" &(a+b))
    elif op == "-":
        print ("%d" &(a-b))
    elif op == "*":
        print ("%d" &(a*b))
    elif op == "/":
        print ("%d" &(a/b))
    elif op == "?":
        i == 1

Fixed submission:
i = 1

while i == 1:
    x = raw_input()
    a, op, b = x.split(" ")
    a = int(a)
    b = int(b)
    
    if op == "?":
        i = 0
    elif op == "+":
        print ("%d" %(a+b))
    elif op == "-":
        print ("%d" %(a-b))
    elif op == "*":
        print ("%d" %(a*b))
    else:
        print("%d" %(a/b))

Buggy python submission (verdict: Runtime Error):
i = 0

while i == 0:
    x = raw_input()
    a, op, b = x.split()
    a = int(a)
    b = int(b)
    
    if op == "+":
        print ("%d" &(a+b))
    elif op == "-":
        print ("%d" &(a-b))
    elif op == "*":
        print ("%d" &(a*b))
    elif op == "/":
        print ("%d" &(a/b))
    elif op == "?":
        i == 1

Fixed submission:
i = 1

while i == 1:
    x = raw_input()
    a, op, b = x.split(" ")
    a = int(a)
    b = int(b)
    
    if op == "?":
        i = 0
    elif op == "+":
        print ("%d" %(a+b))
    elif op == "-":
        print ("%d" %(a-b))
    elif op == "*":
        print ("%d" %(a*b))
    else:
        print("%d" %(a/b))

Buggy python submission (verdict: Runtime Error):
i = 0

while i == 0:
    x = raw_input()
    a, op, b = x.split()
    a = int(a)
    b = int(b)
    
    if "op" == "+":
        print ("%d" &(a+b))
    elif "op" == "-":
        print ("%d" &(a-b))
    elif "op" == "*":
        print ("%d" &(a*b))
    elif "op" == "/":
        print ("%d" &(a/b))
    elif "op" == "?":
        i == 1

Fixed submission:
i = 1

while i == 1:
    x = raw_input()
    a, op, b = x.split(" ")
    a = int(a)
    b = int(b)
    
    if op == "?":
        i = 0
    elif op == "+":
        print ("%d" %(a+b))
    elif op == "-":
        print ("%d" %(a-b))
    elif op == "*":
        print ("%d" %(a*b))
    else:
        print("%d" %(a/b))