Buggy python submission (verdict: Runtime Error):
while True:
 a,op,b = map(int,raw_input().split())

 if(op==*):
  x =a*b
  print x
 elif(op==/):
  x=a/b
  print x
 elif(op==+):
  x=a+b
  print x
 elif(op==-):
  x=a-b
  print x
 else:
  break
 

Fixed submission:
while True:
 a,op,b = map(str,raw_input().split())
 a=int(a)
 b=int(b)

 if(op=='?'):
  break
 if(op=='+'):
  print a+b
 elif(op=='-'):
  print a-b
 elif(op=='*'):
  print a*b
 elif(op=='/'):
  print a/b

Buggy python submission (verdict: Runtime Error):
while True:
 a,op,b = map(int,raw_input().split())

 if(op=='*'):
  print '%d'%(a*b)
 elif(op=='/'):
  print a/b
 elif(op==+):
  x=a+b
  print x
 elif(op==-):
  x=a-b
  print x
 else:
  break
 

Fixed submission:
while True:
 a,op,b = map(str,raw_input().split())
 a=int(a)
 b=int(b)

 if(op=='?'):
  break
 if(op=='+'):
  print a+b
 elif(op=='-'):
  print a-b
 elif(op=='*'):
  print a*b
 elif(op=='/'):
  print a/b

Buggy python submission (verdict: Runtime Error):
while True:
 a,op,b =map(int,raw_input().split())
 if(op=='+'):
  print a+b
 elif(op=='-'):
  print a-b
 elif(op=='*'):
  print a*b
 elif(op=='/'):
  print a/b
 else:
  break

Fixed submission:
while True:
 a,op,b = map(str,raw_input().split())
 a=int(a)
 b=int(b)

 if(op=='?'):
  break
 if(op=='+'):
  print a+b
 elif(op=='-'):
  print a-b
 elif(op=='*'):
  print a*b
 elif(op=='/'):
  print a/b

Buggy python submission (verdict: Runtime Error):
while True:
 a =int(input())
 op =raw_input()
 b =int(input())
 if(op=='+'):
  print a+b
 elif(op=='-'):
  print a-b
 elif(op=='*'):
  print a*b
 elif(op=='/'):
  print a/b
 else:
  break

Fixed submission:
while True:
 a,op,b = map(str,raw_input().split())
 a=int(a)
 b=int(b)

 if(op=='?'):
  break
 if(op=='+'):
  print a+b
 elif(op=='-'):
  print a-b
 elif(op=='*'):
  print a*b
 elif(op=='/'):
  print a/b

Buggy python submission (verdict: Runtime Error):
while True:
 a =input()
 op =raw_input()
 b =input()
 if(op=='+'):
  print a+b
 elif(op=='-'):
  print a-b
 elif(op=='*'):
  print a*b
 elif(op=='/'):
  print a/b
 else:
  break

Fixed submission:
while True:
 a,op,b = map(str,raw_input().split())
 a=int(a)
 b=int(b)

 if(op=='?'):
  break
 if(op=='+'):
  print a+b
 elif(op=='-'):
  print a-b
 elif(op=='*'):
  print a*b
 elif(op=='/'):
  print a/b

Buggy python submission (verdict: Runtime Error):
while True:
 a =input()
 op =raw_input()
 b =input()
 if(op=='?'):
  break
 if(op=='+'):
  print a+b
 elif(op=='-'):
  print a-b
 elif(op=='*'):
  print a*b
 elif(op=='/'):
  print a/b

Fixed submission:
while True:
 a,op,b = map(str,raw_input().split())
 a=int(a)
 b=int(b)

 if(op=='?'):
  break
 if(op=='+'):
  print a+b
 elif(op=='-'):
  print a-b
 elif(op=='*'):
  print a*b
 elif(op=='/'):
  print a/b

Buggy python submission (verdict: Runtime Error):
while True:
 a,op,b = map(str,raw_input().split())
 a=int(a)
 b=int(b)

 if(op=='?'):
  break
 if(op=='+'):
  print s+b
 elif(op=='-'):
  print a-b
 elif(op=='*'):
  print a*b
 elif(op=='/'):
  print a/b

Fixed submission:
while True:
 a,op,b = map(str,raw_input().split())
 a=int(a)
 b=int(b)

 if(op=='?'):
  break
 if(op=='+'):
  print a+b
 elif(op=='-'):
  print a-b
 elif(op=='*'):
  print a*b
 elif(op=='/'):
  print a/b