Problem:


Print Test Cases

In the online judge system, a judge file may include multiple datasets to check whether the submitted program outputs a correct answer for each test case. This task is to practice solving a problem with multiple datasets.

Write a program which reads an integer x and print it as is. Note that multiple datasets are given for this problem.

Input

The input consists of multiple datasets. Each dataset consists of an integer x in a line.

The input ends with an integer 0. You program should not process (print) for this terminal symbol.

Output

For each dataset, print x in the following format:

Case i: x

where i is the case number which starts with 1. Put a single space between "Case" and i. Also, put a single space between ':' and x.
  

Constraints

  
1 ≤ x ≤ 10000

  
The number of datasets ≤ 10000

Sample Input

3
5
11
7
8
19
0

Sample Output

Case 1: 3
Case 2: 5
Case 3: 11
Case 4: 7
Case 5: 8
Case 6: 19



Sample input:
3
5
11
7
8
19
0


Sample output:
Case 1: 3
Case 2: 5
Case 3: 11
Case 4: 7
Case 5: 8
Case 6: 19

Submission status: Runtime Error

Solution code:
a = []
while True:
    n = input()
    if n == -1:
        break
    a.append(n)

for i in range(len(a)):
    if(a[i]==0):
        break
    else:
        print(a[i])

Submission status: Runtime Error

Solution code:
a = []
while True:
    n = input()
    if n == -1:
        break
    a.append(n)

for i in range(len(a)):
    if(a[i]==0):
        break
    else:
        print('Case '+str(i)+': 'str(a[i]))

Submission status: Runtime Error

Solution code:
a = []
while True:
    n = input()
    if n == -1:
        break
    a.append(n)

for i in range(len(a)):
    if(a[i]==0):
        break
    else:
        print('Case '+str(i)+': '+str(a[i]))

Submission status: Runtime Error

Solution code:
a = []
while True:
    n = input()
    if (n == -1):
        break
    a.append(n)

for i in range(len(a)):
    if(a[i]==0):
        break
    else:
        print('Case '+str(i)+': '+str(a[i]))

Submission status: Runtime Error

Solution code:
a = []
while True:
    n = input()
    if (n == 0):
        break
    a.append(n)

for i in range(len(a)):
        print('Case '+str(i)+': '+str(a[i]))

Submission status: Runtime Error

Solution code:
a = []
while True:
    n = input()
    if (n == 0):
        break
    a.append(n)

Submission status: Runtime Error

Solution code:
a = []
while(True):
    n = input()
    if (n == 0):
        break
    a.append(n)

for i in range(len(a)):
        print('Case '+str(i)+': '+str(a[i]))

Submission status: Runtime Error

Solution code:
a = []
while(1):
    n = input()
    if (n == 0):
        break
    a.append(n)

for i in range(len(a)):
        print('Case '+str(i)+': '+str(a[i]))

Submission status: Runtime Error

Solution code:
a = []
while(1):
    n = input()
    if (n == 0):
        break
    a.append(n)

Submission status: Runtime Error

Solution code:
while True:
    a=int(input())
    if a ==0:
        break

    i=1
    print(Case i: a)
    i+=1

Submission status: Runtime Error

Solution code:
while True:
    a = int(input())
    if a == 0:
        break

    i = 1
    print("Case {}: {}.format(i,a))
    i += 1

Submission status: Runtime Error

Solution code:
import sys

a = 1

for b in sys.stdin:
    if b.strip() == 0:
        break
    
    print"Case %d: %s" % (a,b.strip)
    a += 1

Submission status: Runtime Error

Solution code:
import sys 
cnt =1
while 1:
    x = sys.stdin.strip()
    if x == "0":
        break;
    print("Case %d: %s"%(cnt,x))
    cnt+=1

Submission status: Runtime Error

Solution code:

import sys 
cnt =1
while 1:
    x = sys.stdin.readline().strip()
    if x == "0":
        break:
    print("Case %d: %s"%(cnt,x))
    cnt+=1

Submission status: Runtime Error

Solution code:
count=0
while x != 0:
    x=int(input())
    print("Case {0}: x".format(count))

Submission status: Runtime Error

Solution code:
count=0
while x != 0:
    x=int(input())
    print("Case {0}: x".format(count))
    count += 1

Submission status: Runtime Error

Solution code:
import sys

i = 1
while:
    c = sys.argv[i]
    if c == 0:
        break
    else:
        print(c

Submission status: Runtime Error

Solution code:
import sys

i = 1
while 1:
    c = sys.argv[i]
    if c == 0:
        break
    else:
        print(c

Submission status: Runtime Error

Solution code:
import sys

ns = sys.argv

for i in range(1,10000):
    if ns[i] == "0":
        break
    else:
        print (ns[i])

Submission status: Runtime Error

Solution code:
import sys

ns = sys.argv

for i in range(1,10000):
    if ns[i] == "0":
        break
    else:
        print ("case ",i,": ",ns[i])

Submission status: Runtime Error

Solution code:
import sys

ns = sys.stdin.readlines()

for i in range(1,10000):
    if ns[i] == "0":
        break
    else:
        print ("Case ",i,": ",ns[i]"\n")

Submission status: Runtime Error

Solution code:
import sys

ns = sys.stdin.readlines()

for i in range(1,10000):
    if ns[i] == "0":
        break
    else:
        print ("Case ",i,": ",ns[i]\n)

Submission status: Runtime Error

Solution code:
import sys

ns = sys.stdin.readlines()

for i in range(1,20000):
    if ns[i] == "0":
        break
    else:
        print ("Case ",i,": ",ns[i],"\n")

Submission status: Runtime Error

Solution code:
while True:
  x=raw_input()
  if x=(0)
  break
  
print("0")

Submission status: Runtime Error

Solution code:
a = 1
while True:
  read each x=raw_input()
  if x=0:
   print(0)
   break

Submission status: Runtime Error

Solution code:
a = 1

while True:  
  x = raw_input('Case a: ','b')
  
  a += 1
  b = input()
  
  if we have 0
    break
    
      print(x)

Submission status: Runtime Error

Solution code:
a=1
while True:
  x=raw_input()
  if x!=0:
    
    print('Case '+str(a)+':'+x)
    a+=1
  elif x==0:
    break

Submission status: Runtime Error

Solution code:
count = 0
while True:
    x=raw_input()
    count + =1
    if x == '0':
      break
    print('Case' + count + ':' + x)

Submission status: Runtime Error

Solution code:
count = 0

while True:  
 
  x = raw_input()
  
   count += 1
   
    if x == '0':
      break
    
  print('Case' + str(count) + ': ' + x)

Submission status: Runtime Error

Solution code:
i = 0
while True:
    i, n = input(), i+1
    if n == 0:
        break
    print 'Case %d: %d' % (i+1, x)

Submission status: Runtime Error

Solution code:
i = 0
while True:
    i, n = input(), i+1
    if n == 0:
        break
    print 'Case %d: %d' % (i+1, n)

Submission status: Runtime Error

Solution code:
for i in range(10000):
    j = (int)input()
    if j == 0:
        break
    print("Case {0}: {1}".format(i, j))

Submission status: Runtime Error

Solution code:
for i, e in enumerate(eval(input().replace('\n', ','))):
     print("Case {}: {}".format(i+1, e))

Submission status: Runtime Error

Solution code:
i = 1
while True:
    print("Case {}: {}".format(i, input()))
    i += 1

Submission status: Runtime Error

Solution code:
i=1;count=1
while 1:
    i=input()
    if i==0:
        break
    print("case {0}: {1}".format(count,i))
    count+=1

Submission status: Runtime Error

Solution code:
i=1;count=1
while 1:
    i=input()
    if i==0:break
        
    print("case {0}: {1}".format(count,i))
    count+=1

Submission status: Runtime Error

Solution code:
i=1;count=1
while 1:
    i=input()
    if i==0:break

    print("Case {0}: {1}".format(count,i))
    count+=1

Submission status: Runtime Error

Solution code:
count = 1

for:
    x = input()
    if x == 0: break
    else:
        {i}.format(i=count)
        print("Case{i}:" x)
        count = count + 1

Submission status: Runtime Error

Solution code:
count = 1

while True:
    x = input()
    if x == 0:break
    else:
        print("Case"count": "x)
        count += 1

Submission status: Runtime Error

Solution code:
count = 1
x = input()
while x != "0":
    print("Case"count": "x)
    x = input()
    count += 1

Submission status: Runtime Error

Solution code:
count = 1
x = input()
while x != "0":
    print("Case{}: {}".format(c, x))
    x = input()
    count += 1

Submission status: Runtime Error

Solution code:
from itertools import count

for i in count(1):
    s = input()

    if s = "0":
        break
    else:
        print("Case {}: {}".format(i, s))

Submission status: Runtime Error

Solution code:
from itertools import count
??
for i in count(1):
????????s = input()
??
????????if s == "0":
????????????????break
????????else:
????????????????print("Case {}: {}".format(i, s))

Submission status: Runtime Error

Solution code:
from itertools import count

for i in count(1):
    if i == 10:
        break
    else:
        print("Case {}: {}".format(i, s))

Submission status: Runtime Error

Solution code:
i = 0
while x=int(input()):
 i++
 print("Case {i}:{x}", i, x)

Submission status: Runtime Error

Solution code:
i = 0
while x=int(input()):
 i = i + 1
 print("Case {i}:{x}", i, x)

Submission status: Runtime Error

Solution code:
i = 0
while x=int(input()) != 0:
 i = i + 1
 print("Case {i}:{x}", i, x)

Submission status: Runtime Error

Solution code:
i = 0
while x=int(input()) != 0:
 i = i + 1
 print("Case " + i + ": " + x)

Submission status: Runtime Error

Solution code:
i = 0
while x=int(input()) != 0:
 i = i + 1
 print("Case " + str(i) + ": " + str(x))

Submission status: Runtime Error

Solution code:
i=0
x=int(input())
while x=int(input()) != 0:
 i = i+1
 print("Case " + str(i) + ": " + str(x))

Submission status: Runtime Error

Solution code:
for i, x in enumerate((input()).strip()):
    x = int(input())
    if x == '0':
        break
    print('case ' + str(i) + ': ' + x)

Submission status: Runtime Error

Solution code:
import sys
sum = 1;
for i in sys.stdin.strip():
    if i != "0":
        print('Case {}: {}'.format(sum, i))
        sum++
    else:
        break

Submission status: Runtime Error

Solution code:
import sys
sum = 1;
for i in sys.stdin.strip():
    if i != "0":
        print('Case {}: {}'.format(sum, i))
        sum+= 1
    else:
        break

Submission status: Runtime Error

Solution code:
import sys
args = sys.argv[1]
#??????????????????????????????????????????????????§????????????????????????
with open(args) as f:
	x = f.readlists()
	i = 0
	while x[i] != 0:
		print("Case " + str(i+1) + ":" + str(x))
		i += 1

Submission status: Runtime Error

Solution code:
import sys
args = sys.argv[1]
#??????????????????????????????????????????????????§????????????????????????
with open(args) as f:
	x = f.readlines()
	i = 0
	while x[i] != 0:
		print("Case " + str(i+1) + ":" + str(x))
		i += 1

Submission status: Runtime Error

Solution code:
import sys
args = sys.argv[1]
#??????????????????????????????????????????????????§????????????????????????
with open(args) as f:
	x = f.readline()
	i = 0
	while x != 0:
		print("Case " + str(i+1) + ":" + str(x))
		i += 1
		x = f.readline()

Submission status: Runtime Error

Solution code:
flag=0
i=0
while flag==0:
    num=input()
    if num==0 or num=="":
        flag=1
    else:
        print("Case {0}: {1}".format(i + 1, num))
        i = i + 1
        num = int(input())

Submission status: Runtime Error

Solution code:
s=list(map(int,input().split())
i=1
while true:
	if s[i-1]==0:
		break
	else
		print('Case '+str(i)+': '+str(s[i-1]))
		i+=1

Submission status: Runtime Error

Solution code:
s=list(map(int,input().split()))
i=1
while true:
	if s[i-1]==0:
		break
	else
		print('Case '+str(i)+': '+str(s[i-1]))
		i+=1

Submission status: Runtime Error

Solution code:
s=list(map(int,input().split()))
i=1
while True:
	if s[i-1]==0:
		break
	else:
		print('Case '+str(i)+': '+str(s[i-1]))
		i+=1

Submission status: Runtime Error

Solution code:
n=[]
line=''
i=0
while line != '0':
    line=input()
    if line != '0'
        n.append(int(line))
        i+=1
        print(i)
for x in range(len(n)):
    print('Case %d: %d'%(x, n[x]))

Submission status: Runtime Error

Solution code:
n=[]
line=''
i=0
while line != '0':
    line=input()
    if line != '0'
        n.append(int(line))
        i=i+1
        print(i)
for x in range(len(n)):
    print('Case %d: %d'%(x, n[x]))

Submission status: Runtime Error

Solution code:
a = []
i = 0
while true:
  n = input()
  if n == 0:
    break
  a.append(n)
  print('Case {0}: {1}'.format(i,n))

Submission status: Runtime Error

Solution code:
a = []
i = 0
while true:
  n = input()
  if n == 0:
    break
  a.append(n)
  print('Case {0}: {1}'.format(i,a))
  i++

Submission status: Runtime Error

Solution code:
i = 1
while True:
  n = input()
  if n == 0:
    break
  print("Case {0}: {1}").format(i,n)
  i++

Submission status: Runtime Error

Solution code:
i = 1
while True:
  n = input()
  if n == 0:
    break
  print("Case {0}: {1}").format(i,n)
  i += 1

Submission status: Runtime Error

Solution code:
i = 1
while True:
  n = input()
  if n == 0:
    break
  print("Case {0}: {1}".format(i,n))
  i += 1

Submission status: Runtime Error

Solution code:
a = [] 
while True:
    num = int(input())
    if n == 0:
        break 
    a.append(n)
    count = 0
    for i in a:
        count += 1
    print("Case " + str(count) + ":" + str(n))

Submission status: Runtime Error

Solution code:
import sys

for line in sys.stdin.readlines():
    if line == 0:
        break
    else:
        count = 0
        if i in line:
            count += 1
    print("Case " + str(count) + ": " + str(line))

Submission status: Runtime Error

Solution code:
N = [i for i in range(1, 10000)]
count = 0
for i in N:
    if i == 0:
        break
    else:
        count += 1
    print("Case " + str(count) + ": " + str(line))

Submission status: Runtime Error

Solution code:
import sys

a = []
for line in sys.stdin.readlines:
    count = 0
    for j in line:
    a.append(j)
        for i in a:
            if i == 0:
                break
            else:
                count += 1
        print("Case " + str(count) + ": " + str(i))

Submission status: Runtime Error

Solution code:
for i in range(10000)
  line = int(input())
  if line == 0:
    break
  print('Case {}:{}'.format(i+1, line))

Submission status: Runtime Error

Solution code:
for i in range(10000)
  line = int(input())
  if line == 0:
    break
  print('Case {}: {}'.format(i+1, line))

Submission status: Runtime Error

Solution code:
while True:
    x = int(input())
    if x == 0:
        break
    else:
        print("Case {}: {}".format(i, x))

Submission status: Runtime Error

Solution code:
x = map(int,raw_input().split())
i = 0
while x[i] <> 0:
  print "Case %d: %d" %d(i,x[i])
  i++

Submission status: Runtime Error

Solution code:
x = map(int,raw_input().split())
i = 0
while x[i] <> 0:
  print "Case %d: %d" %(i,x[i])
  i += 1

Submission status: Runtime Error

Solution code:
x = map(int,raw_input().split())
i = 0
while x[i] <> 0:
  print "Case %s: %s" %(i,x[i])
  i += 1

Submission status: Runtime Error

Solution code:
import numpy

Submission status: Runtime Error

Solution code:
def main() :
    lst = list(map(int, input().split()))
    count = 1
    for n in lst :
        if n == 0 :
            break
        else :
            print(f"case {count}: {n}")
            count += 1



if __name__ == '__main__' :
    main()

Submission status: Runtime Error

Solution code:
while True:
    x = int(input())
    if x == 0:
            break
    print('Case {}: {}'.format(i, x))
    i += 1

Submission status: Runtime Error

Solution code:
w="test"
a=[]
i=0
while(w!=""):
    w=input()
    a.append(w)
a.remove("")
for k in a:
    i+=1
    print("Case {0}: {1}".format(i,k))

Submission status: Runtime Error

Solution code:
i = 1
while 1:
    x = input().int()
    if i > 10000 or x = 0 or (1 <= x <= 10000):
        break
    print('Case ' + str(i) + ': ' + x)

Submission status: Runtime Error

Solution code:
def main():
    data = []
    while 1:
        n = input().split()
        ans = int(n[0])
        length = data.__len__()
        data.append(ans)

        if n == 0:
            break

        if length > 10001:
            print("Too Large")
            break
        else:
            for i in range(0,9999):
                d_val = data[i]

                if d_val != 0:
                    print("Case{0}:{1}".format(i+1,d_val))
                else:
                    break

if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
def main():
    data = []
    while 1:
        n = input().split()
        ans = int(n[0])
        length = data.__len__()
        data.append(ans)

        if ans == 0:
            break

    if length > 10000:
        print("Too Large")
    else:
        for i in range(0,10000):
            d_val = data[i]

            if d_val != 0:
                print("Case{0}:{1}".format(i+1,d_val))
            else:
                break

if __name__ == '__main__':
    main(

Submission status: Runtime Error

Solution code:
l=raw_input().split()
for i in range(l):
 print(f"Case{i}: {l[i]}")

Submission status: Runtime Error

Solution code:
l=raw_input().split()
for i in range(len(l)):
 print(f"Case{i+1}: {l[i]}")

Submission status: Runtime Error

Solution code:
a=[]
while True:
 n = input()
  if n == 0:
   break
  a.append(n)
for i in range(len(a)):
 print(f'Case{i+1}: {a[i]}')

Submission status: Runtime Error

Solution code:
a=[]
while True:
 n = raw_input()
  if n == 0:
   break
  a.append(n)
for i in range(len(a)):
 print(f'Case{i+1}: {a[i]}')

Submission status: Runtime Error

Solution code:
a=[]
while True:
 n = raw_input()
  if n == "0":
   break
  a.append(n)
for i in range(len(a)):
 print(f'Case{i+1}: {a[i]}')

Submission status: Runtime Error

Solution code:
a=[]
while True:
 n = input()
 if n == -1:
  break
 a.append(n)
for i in range(len(a))
 print(f'Case {i+1}: {a[i]}')

Submission status: Runtime Error

Solution code:
a=[]
while True:
 n = input()
 if n == 0:
  break
 a.append(n)
for i in range(len(a))
 print(f'Case {i+1}: {a[i]}')

Submission status: Runtime Error

Solution code:
a=[]
while True:
 n=input()
 if n==0: break
 a.append(n)
for i in range(len(a)):
 print(f'Case {i+1}: {a[i]}')

Submission status: Runtime Error

Solution code:
a=[]
while True:
 n=input()
 if n==0:
  break
 a.append(n)
for i in range(len(a)):
 print(f'Case {i+1}: {a[i]}')

Submission status: Runtime Error

Solution code:
i=1
while s=int(input)!=0:
 print(f'Case {i}: {s}')

Submission status: Runtime Error

Solution code:
i=1
while True:
 s=int(input)
 if s==0:break
 print(f'Case {i}: {s}')

Submission status: Runtime Error

Solution code:
while 1:
??a=input()
??if int(a)==0:break
 print(f'Case {i+1}: {a[i]}')

Submission status: Runtime Error

Solution code:
i=1
while 1:
??a=input()
??if int(a)==0:break
 print(f'Case {i}: {a[i]}')
 i+=1

Submission status: Runtime Error

Solution code:
i=1
while 1:
??a=input()
??if int(a)==0:break
 print(f'Case {i}: {a}')
 i+=1

Submission status: Runtime Error

Solution code:
i=1
while 1:
??a=input()
??if a==0:break
 print(f'Case {i}: {a}')
 i+=1

Submission status: Runtime Error

Solution code:
i=1
while 1:
 a=input()
 if a==0:break
 print(f'Case {i}: {a}')
 i+=1

Submission status: Runtime Error

Solution code:
import sys
i=1
for s in sys.stdin:
 if s=='0\n':break
 print(f'Case {i}: {a}')
 i+=1

Submission status: Runtime Error

Solution code:
count = 1
count = int(count)
while True:
    num = input()
    if num == 0:
        break
    print('Case {0}: {1}'.format(count,num))
    count = count + 1

Submission status: Runtime Error

Solution code:
count = 0
while true:
    count += 1
    n = int(input())
    if n == 0:
        break
    print('Case ' + str(count) + ' :' + str(n))

Submission status: Runtime Error

Solution code:
import sys
a=1
for b in sys.stdin:b=b.strip()
    if b=="0":break
    print("Case %d: %s"%(a,b))
    a+=1

Submission status: Runtime Error

Solution code:
import sys
a=1
for b in sys.stdin:b=b.strip()
    if b=="0":break
    print(f'Case {a}: {b}')
    a+=1

Submission status: Runtime Error

Solution code:
import sys
a=1
for b in sys.stdin:b=b.strip()
 if b=='0':break
 print(f'Case {a}: {b}')
 a+=1

Submission status: Runtime Error

Solution code:
import sys
i=1
for a in sys.stdin:a=a.strip()
 if a=='0':break
 print(f'Case {i}: {a}')
 i+=1

Submission status: Runtime Error

Solution code:
newArray = []
 
x = input()
 
while x != "0":    
    newArray.append(x)
    x = input()
 
for i in range(len(newArray)):
    print("Case {}:{}".format((str(i + 1)),(newArray[i]))

Submission status: Runtime Error

Solution code:
newArray = []
 
x = input()
 
while x != "0":    
    newArray.append(x)
    x = input()
 
for i in range(len(newArray)):
    #print("Case " + str(i + 1) + ": " + newArray[i])
    print("Case %d: %s"%((str(i + 1)),(newArray[i])))

Submission status: Runtime Error

Solution code:
x=input()
i=1
while x!=0:
    print("Case {}:{}".format(i,x))
    x=input()
    i+=1

Submission status: Runtime Error

Solution code:
x=int(input())
i=1
while x!="0":
    print("Case %d: %s" %(i,x))
    x=int(input())
    i+=1

Submission status: Runtime Error

Solution code:
i = 0
while True:
    i += 1
    n = input()
    if (n == 0): break
    print("Case " + str(i) + ": " + str(n))

Submission status: Runtime Error

Solution code:
for i in range(10000):
    print("Case {}: {}".format(i+1, int(input()))

Submission status: Runtime Error

Solution code:
sentinel = '\n' 
cn=1
for line in iter(input, sentinel):
	print('Case {}: {}'.format(cn,line))
	cn = cn + 1

Submission status: Runtime Error

Solution code:
x = input()
counter = 0
while True:
        if x == '0':
                break
        else:
                counter = counter+1
                return('Case %d:%s' %(counter,x))

Submission status: Runtime Error

Solution code:
i = 1
while True:
    case = input()
    print("Case "+str(i)+":"+case)
    if case == None: 
        print("Case "+str(i)+":"+case)
        break
    i += 1

Submission status: Runtime Error

Solution code:
count = 0
while true:
    set = int(input())
    count +=1
    if set == 0:
        break
    print('Case {}: {}'.format(count, set))

Submission status: Runtime Error

Solution code:
i = 0
while True:
    x = int(input())
    i +=1
    if set == 0:
        break
    print('Case {}: {}'.format(i,x))

Submission status: Runtime Error

Solution code:
count = 0
while True:
    set = int(input()):
    count +=1
    if set == 0:
        break
    print('Case {0}:{1}'.format(count,set))

Submission status: Runtime Error

Solution code:
max = max(x)
for i in range(max):
    if x[i] == 0:
        break
    else:
        print("Case {0}: {1}".format(i+1, x[i]))

Submission status: Runtime Error

Solution code:
num = 1
while True:
    x = int(input())
    if x == 0:
        break
    else
        print ("Case {0}: {1}".format(num,x))
        num += 1

Submission status: Runtime Error

Solution code:
i = 0
def printcase(n):
    i = i + 1
    print("Case ", i, n)

if __name__ == "__main__":
    ret = printcase(input())

Submission status: Runtime Error

Solution code:
i = 0
def printcase():
    n = input()
    print("Case ",i": " ,n)

if __name__ == "__main__":
    ret = printcase()

Submission status: Runtime Error

Solution code:
i = 0
def printcase():
    n = input()
    if n == 0:
        break
    print("Case",i ,":" ,n)

if __name__ == "__main__":
    ret = printcase()

Submission status: Runtime Error

Solution code:
def printcase():
    i = 0
    n = input()
    while n != 0:
        print("Case",i ,":" ,n)
        n = input()
        i = i + 1
    return 0

if __name__ == "__main__":
    ret = printcase()

Submission status: Runtime Error

Solution code:
### Repetitive Processing - Print Test Cases

i = 0
while True:
    x = int(input());
    i += 1
    if x == 0: break
    print("Case {}: {}".format(c, i))

Submission status: Runtime Error

Solution code:
a=list()
while True:
  a.append(input())

Submission status: Runtime Error

Solution code:
a = list()
while True:
    n = input()
    if n == 0:
        break
    a.append(n)
for i in range(len(a)):
    print ('case {}: {}'.format(i, a[i]))

Submission status: Runtime Error

Solution code:
a = list()
c = 1
while True:
    n = input()
    if n == 0:
        break
    print ('case {}: {}'.format(c, n))
    c += 1

Submission status: Runtime Error

Solution code:
c = 1
while True:
    n = input()
    if n == 0:
        break
    print ('case {}: {}'.format(c, n))
    c += 1

Submission status: Runtime Error

Solution code:
n=0
while i = input() != "0":
    n++
    print("Case " + str(n) + ":" +i)

Submission status: Runtime Error

Solution code:
n=0
while i = input() != "0":
    n+=1
    print("Case " + str(n) + ":" +i)

Submission status: Runtime Error

Solution code:
n=0
i = int(input())
while i != 0:
    n+=1
    print("Case " + str(n) + ":" +i)
    i int(input())

Submission status: Runtime Error

Solution code:
n=0
i = int(input())
while i != 0:
    n+=1
    print("Case " + str(n) + ":" +i)
    i = int(input())

Submission status: Runtime Error

Solution code:
l = list(map(int, input().split(\r)))
for i in range(1, len(l)):
    if not l[i - 1] ==0:
        print('Case {}: {}'.format(i, l[i - 1]))

Submission status: Runtime Error

Solution code:
l = list(map(int, input().splitlines()))
for i in range(1, len(l) + 1):
    if l[i - 1] != 0:
        print('Case {}: {}'.format(i, l[i - 1]))
    else:
        return

Submission status: Runtime Error

Solution code:
a = int(input())
i = 0

while a != 0:
	print("Case " + i + ": " + a)
	i += 1
	a = int(input())

Submission status: Runtime Error

Solution code:
x = []
a = 0
while True:
    x.append(int(input()))
    if x[a] == 0 or a == 9999:
        break
    a += 1
i = 0
while True:
    if x[i] == 0 or i == 10000:
        break
    print('Case ' + str(i + 1) + ': ' + str(x[i]))
    i += 1

Submission status: Runtime Error

Solution code:
i = 1
while True:
    x = int(input())
    if x == 0:
        break
    print("Case {i}:{x}".format(i, x))

Submission status: Runtime Error

Solution code:
i = 1
while True:
    x = int(input())
    if x == 0:
        break
    print("Case {i}: {x}".format(i, x))
    i += 1

Submission status: Runtime Error

Solution code:
c = 1
while True :
    print("Case {0}: {1}".format(c, input()))
    c += 1

Submission status: Runtime Error

Solution code:
import sys
lines = sys.stdin.readlines()
for i in range(lines):
    a = int(lines[i])
    if(a == 0):
        break
    else:
        print("Case {0}: {1}".format(i+1, a))

Submission status: Runtime Error

Solution code:
import sys
lines = sys.stdin.readlines()
for i in range(lines.len):
    a = int(lines[i])
    if(a == 0):
        break
    else:
        print("Case {0}: {1}".format(i+1, a))

Submission status: Runtime Error

Solution code:
import sys
lines = sys.stdin.readlines()
for i in range(lines.length):
    a = int(lines[i])
    if(a == 0):
        break
    else:
        print("Case {0}: {1}".format(i+1, a))

Submission status: Runtime Error

Solution code:
a = []
x = 1
while True:
    n = input()
    if n == 0:
        break
    a.append(n)
    x += 1
print ("Case",x,":",a)

Submission status: Runtime Error

Solution code:
while True:
     x=int(input())
     print(x)
     if x=0: 
          break

Submission status: Runtime Error

Solution code:
while True:
     x=int(input())
     print(x)
if x=0:
     break

Submission status: Runtime Error

Solution code:
cnt = 1
c = input()
while c != 0:
 print(cnt,c)
 c = input()
 cnt += 1

Submission status: Runtime Error

Solution code:
cnt = 1
c = raw_input()
while c != 0:
 print(cnt,c)
 c = raw_input()
 cnt += 1

Submission status: Runtime Error

Solution code:
cnt = 1
c = int(input())
while c != 0:
 print(Case,cnt,:,c)
 c = int(input())
 cnt += 1

Submission status: Runtime Error

Solution code:
cnt = 1
c = int(input())
while c != 0:
 print("Case {0}: {1}".format(cnt).format(c))
 c = int(input())
 cnt += 1

Submission status: Runtime Error

Solution code:
a = []
while True:
    n = int(input())
    if n == 0:
        break
         a.append(n)
for i in range(len(a)):
    print("Case {0}: {1}".format(i + 1, a[i]))

Submission status: Runtime Error

Solution code:
a = []
while True:
  n = int(input())
  if n == 0:
    break
     a.append(n)
for i in range(len(a)):
  print("Case {0}: {1}".format(i + 1, a[i]))

Submission status: Runtime Error

Solution code:
#coding: UTF-8

x = input()

i = 1

while x !=0:
    print('Case '+i+': '+x)
    i +=1

Submission status: Runtime Error

Solution code:
#coding: UTF-8

x=input()

i=1

while x !='0':
    print('Case '+i+': '+x)
    i +=1

Submission status: Runtime Error

Solution code:
while True:
    n = 1
    if input() == 0:
        break
    print("Case " + n + ": " + str(input()))
    n+=1

Submission status: Runtime Error

Solution code:
n = 1
while True:
    if int(input()) == 0:
        break
    print("Case " + n + ": " + str(input()))
    n+=1

Submission status: Runtime Error

Solution code:
h = 0
while True:
    x = int(input());
 h += 1
    if x == 0: 
break
    print("Case {}: {}".format(c, x))

Submission status: Runtime Error

Solution code:
h=1
x=int(input())
while x>=0:
    print('"case" {} :{}'.format(h,x))
    x= int(input())
    h+=1

Submission status: Runtime Error

Solution code:
i=1
x=int(input())
while x > 0:
    print("case {0}: {1}".format(h, x))
    x = int(input())
    i+=1

Submission status: Runtime Error

Solution code:
i = 0
while input() != 0:
    i += 1
    print('Case ',i,': ',input(),sep='')

Submission status: Runtime Error

Solution code:
x = []
while(1):
    inp = int(input())
    if inp !=0:
        x.append(inp)
    else:
        x.append(inp)
        break
print(x)
j=0
while(1):
    if(x[j]!=0):
        print("Case {} : {}".format(i,x[j]))
        j+=1
    else:
        break

Submission status: Runtime Error

Solution code:
j = 0
While(True):
  i = int(raw_input())
  j += 1
  if i != 0:
    print("Case " + str(j) + ": " + str(i))
  else:
    break

Submission status: Runtime Error

Solution code:
j = 0
While(True):
  temp = raw_input()
  i = int(temp)
  j += 1
  if i != 0:
    print("Case " + str(j) + ": " + str(i))
  else:
    break

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
a = []
while True:
    n = input()
    if n == 0:
        break
    a.append(n)

for i in len(a):
    print('Case%s: %s' %(i + 1, a[i]))

Submission status: Runtime Error

Solution code:
i = 1
while True:
    x = int(input())
    if x == 0: break
    print("Case {}: {}".format(i, n))
    i += 1

Submission status: Runtime Error

Solution code:
while True:
   print("Case 1: " + input())

Submission status: Runtime Error

Solution code:
i = 1
while x = input(): print('Case ' i ': ' x)

Submission status: Runtime Error

Solution code:
i = 1
while 1:
  x = input()
  if !x: break
  print('Case ' i ': ' x)
  i += 1

Submission status: Runtime Error

Solution code:
i = 1
while 1:
  x = int(input())
  if !x: break
  print('Case ' i ': ' x)
  i += 1

Submission status: Runtime Error

Solution code:
i = 1
while 1:
  x = int(input())
  if x==0: break
  print('Case ' i ': ' x)
  i += 1

Submission status: Runtime Error

Solution code:
i = 1
while true:
  x = int(input())
  if x==0: break
  print('Case ' i ': ' x)
  i += 1

Submission status: Runtime Error

Solution code:
i = 1
while true:
  x = int(input())
  if x==0: break
  print('Case {}: {}'.format(i,x))
  i += 1

Submission status: Runtime Error

Solution code:
i = 1
while True:
  x = int(input())
  if !x: break
  print("Case {}: {}".format(i, x))
  i+=1

Submission status: Runtime Error

Solution code:
i = 1
while True:
  x = int(input())
  if x: print("Case {}: {}".format(i, x)) else brek
  i+=1

Submission status: Runtime Error

Solution code:
i = 1
while True:
  x = int(input())
  if x: print("Case {}: {}".format(i, x)) else break
  i+=1

Submission status: Runtime Error

Solution code:
i = 1
while 1:
  if not (x = int(input())): break
  print("Case {}: {}".format(i, x))
  i+=1