Buggy python submission (verdict: Runtime Error):
counter = 1
while true:
    x = input()
    if x == 0 : 
    break
    print("Case {}: {}".format(counter,input()))



Fixed submission:
ans = []
for i, x in enumerate(open(0).readlines()):
    ans.append("Case %d: %s" % (i+1, x))
open(1,'w').writelines(ans[:-1])

Buggy python submission (verdict: Runtime Error):
counter = 1
while true:
    x = input()
    if x == 0 : 
        break
        print("Case {}: {}".format(counter,input()))



Fixed submission:
ans = []
for i, x in enumerate(open(0).readlines()):
    ans.append("Case %d: %s" % (i+1, x))
open(1,'w').writelines(ans[:-1])

Buggy python submission (verdict: Runtime Error):
counter = 1
while true:
    x = input()
    if x == 0 : 
        break
    print("Case {}: {}".format(counter,input()))



Fixed submission:
ans = []
for i, x in enumerate(open(0).readlines()):
    ans.append("Case %d: %s" % (i+1, x))
open(1,'w').writelines(ans[:-1])

Buggy python submission (verdict: Runtime Error):
counter = 1
while true:
    x = input()
    if x == 0 : 
        break
    print("Case {}: {}".format(counter,input()))
    counter = counter + 1



Fixed submission:
ans = []
for i, x in enumerate(open(0).readlines()):
    ans.append("Case %d: %s" % (i+1, x))
open(1,'w').writelines(ans[:-1])

Buggy python submission (verdict: Runtime Error):
counter = 1
while true:
    x = input()
    if x == 0 : 
        break
    print("Case {}: {}".format(counter,x))
    counter = counter + 1



Fixed submission:
ans = []
for i, x in enumerate(open(0).readlines()):
    ans.append("Case %d: %s" % (i+1, x))
open(1,'w').writelines(ans[:-1])

Buggy python submission (verdict: Runtime Error):
counter = 1
while true:
    x = int(input())
    if x == 0 : 
        break
    print("Case {}: {}".format(counter,x))
    counter = counter + 1



Fixed submission:
ans = []
for i, x in enumerate(open(0).readlines()):
    ans.append("Case %d: %s" % (i+1, x))
open(1,'w').writelines(ans[:-1])

Buggy python submission (verdict: Runtime Error):
counter = 1
while true:
    x = int(input())
    if x == 0 : 
        break
    else :
        print("Case {}: {}".format(counter,x))
        counter = counter + 1



Fixed submission:
ans = []
for i, x in enumerate(open(0).readlines()):
    ans.append("Case %d: %s" % (i+1, x))
open(1,'w').writelines(ans[:-1])

Buggy python submission (verdict: Runtime Error):
counter = 1
while true:
    x = int(input())
    if x == 0 : 
        break
    else :
        print("Case {}: {}"format(counter,x))
        counter = counter + 1



Fixed submission:
ans = []
for i, x in enumerate(open(0).readlines()):
    ans.append("Case %d: %s" % (i+1, x))
open(1,'w').writelines(ans[:-1])

Buggy python submission (verdict: Runtime Error):
counter = 1
while true:
    x = int(input())
    if x == 0 : 
        break
    else :
        print("Case {}: {}".format(counter,x))
        counter = counter + 1



Fixed submission:
ans = []
for i, x in enumerate(open(0).readlines()):
    ans.append("Case %d: %s" % (i+1, x))
open(1,'w').writelines(ans[:-1])

Buggy python submission (verdict: Runtime Error):
counter = 1
while True:
    x = int(input())
    if x == 0
        break
    else :
        print("Case%d%d.format(counter,x))
        counter = counter + 1
        


Fixed submission:
ans = []
for i, x in enumerate(open(0).readlines()):
    ans.append("Case %d: %s" % (i+1, x))
open(1,'w').writelines(ans[:-1])

Buggy python submission (verdict: Runtime Error):
counter = 1
while True:
    x = int(input())
    if x == 0
        break
    else :
        print("Case%d:%d.format(counter,x))
        counter = counter + 1
        


Fixed submission:
ans = []
for i, x in enumerate(open(0).readlines()):
    ans.append("Case %d: %s" % (i+1, x))
open(1,'w').writelines(ans[:-1])

Buggy python submission (verdict: Runtime Error):
counter = 1
while True:
    x = int(input())
    if x == 0
        break
    else :
        print("Case %d:%d.format(counter,x))
        counter = counter + 1
        


Fixed submission:
ans = []
for i, x in enumerate(open(0).readlines()):
    ans.append("Case %d: %s" % (i+1, x))
open(1,'w').writelines(ans[:-1])

Buggy python submission (verdict: Runtime Error):
counter = 1
while True:
    x = int(input())
    if x == 0
        break
    else :
        print("Case %d:%d".format(counter,x))
        counter = counter + 1
        


Fixed submission:
ans = []
for i, x in enumerate(open(0).readlines()):
    ans.append("Case %d: %s" % (i+1, x))
open(1,'w').writelines(ans[:-1])

Buggy python submission (verdict: Runtime Error):
counter = 1
while True:
    x = int(input())
    if x == 0
        break
    else :
        print("Case {}:{} ".format(counter,x))
        counter = counter + 1
        


Fixed submission:
ans = []
for i, x in enumerate(open(0).readlines()):
    ans.append("Case %d: %s" % (i+1, x))
open(1,'w').writelines(ans[:-1])