Buggy python submission (verdict: Runtime Error):
cnt = 1
num = sys.stdin.readline().strip()
while num != "0":
    print("Case "+ cnt +  ": " num)
    cnt+=1
    num = sys.stdin.readline().strip()

Fixed submission:
import sys
cnt = 1

while 1:
  num=sys.stdin.readline().strip()
  if num == "0":
    break
  print('Case {0}: {1}'.format(cnt, num))
  cnt+=1

Buggy python submission (verdict: Runtime Error):
import sys
cnt = 1
num = sys.stdin.readline().strip()
while num != "0":
    print("Case "+ cnt +  ": " num)
    cnt+=1
    num = sys.stdin.readline().strip()

Fixed submission:
import sys
cnt = 1

while 1:
  num=sys.stdin.readline().strip()
  if num == "0":
    break
  print('Case {0}: {1}'.format(cnt, num))
  cnt+=1

Buggy python submission (verdict: Runtime Error):
import sys

for i, num in enumerate(sys.stdin.read().splitlines())
	print("Case "+ i +  ": " + num)

Fixed submission:
import sys
cnt = 1

while 1:
  num=sys.stdin.readline().strip()
  if num == "0":
    break
  print('Case {0}: {1}'.format(cnt, num))
  cnt+=1

Buggy python submission (verdict: Runtime Error):
import sys

for i, num in enumerate(sys.stdin.read().splitlines()):
	print("Case "+ i +  ": " + num)

Fixed submission:
import sys
cnt = 1

while 1:
  num=sys.stdin.readline().strip()
  if num == "0":
    break
  print('Case {0}: {1}'.format(cnt, num))
  cnt+=1

Buggy python submission (verdict: Runtime Error):
import sys

for i, num in enumerate(sys.stdin.read().splitlines()):
  print("Case "+ i +  ": " + num)

Fixed submission:
import sys
cnt = 1

while 1:
  num=sys.stdin.readline().strip()
  if num == "0":
    break
  print('Case {0}: {1}'.format(cnt, num))
  cnt+=1

Buggy python submission (verdict: Runtime Error):
import sys

for i in sys.stdin.read().splitlines()

Fixed submission:
import sys
cnt = 1

while 1:
  num=sys.stdin.readline().strip()
  if num == "0":
    break
  print('Case {0}: {1}'.format(cnt, num))
  cnt+=1

Buggy python submission (verdict: Runtime Error):
import sys

array = sys.stdin.read().splitlines()
for i in array

Fixed submission:
import sys
cnt = 1

while 1:
  num=sys.stdin.readline().strip()
  if num == "0":
    break
  print('Case {0}: {1}'.format(cnt, num))
  cnt+=1

Buggy python submission (verdict: Runtime Error):
import sys

for i, num in enumerate(sys.stdin.read().splitlines()):
  print("Case "+ i +  ": " + num)

Fixed submission:
import sys
cnt = 1

while 1:
  num=sys.stdin.readline().strip()
  if num == "0":
    break
  print('Case {0}: {1}'.format(cnt, num))
  cnt+=1

Buggy python submission (verdict: Runtime Error):
import sys
cnt = 1

while 1
	num=sys.stdin.readline().strip()
	if num = "0":
		break;
	print('Case {0}: {1}'.format(cnt, num))
	cnt+=1

Fixed submission:
import sys
cnt = 1

while 1:
  num=sys.stdin.readline().strip()
  if num == "0":
    break
  print('Case {0}: {1}'.format(cnt, num))
  cnt+=1

Buggy python submission (verdict: Runtime Error):
import sys
cnt = 1

while 1
	num=sys.stdin.readline().strip()
	if num = "0":
		break
	print('Case {0}: {1}'.format(cnt, num))
	cnt+=1

Fixed submission:
import sys
cnt = 1

while 1:
  num=sys.stdin.readline().strip()
  if num == "0":
    break
  print('Case {0}: {1}'.format(cnt, num))
  cnt+=1

Buggy python submission (verdict: Runtime Error):
import sys
cnt = 1

while 1:
	num=sys.stdin.readline().strip()
	if num = "0":
		break
	print('Case {0}: {1}'.format(cnt, num))
	cnt+=1

Fixed submission:
import sys
cnt = 1

while 1:
  num=sys.stdin.readline().strip()
  if num == "0":
    break
  print('Case {0}: {1}'.format(cnt, num))
  cnt+=1

Buggy python submission (verdict: Runtime Error):
import sys
cnt = 1

while 1
	num=sys.stdin.readline().strip()
	if num == "0":
		break;
	print('Case {0}: {1}'.format(cnt, num))
	cnt+=1

Fixed submission:
import sys
cnt = 1

while 1:
  num=sys.stdin.readline().strip()
  if num == "0":
    break
  print('Case {0}: {1}'.format(cnt, num))
  cnt+=1