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: Wrong Answer

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: Wrong Answer

Solution code:
s = []
while True:
    i = int(input())
    if not i:
        break
    s.append(i)

for i,j in enumerate(s):
    print('Case {}:{}'.format(i,j))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

l = []
for input in sys.stdin:
    l.append(int(input))
for i in range(0,len(l)):
    print 'Case %d:'%(i+1),l[i]

Submission status: Wrong Answer

Solution code:

a= []

while True:
    x=int(input())
    if x==0: break
    a.append(x)

j=0
for i in a:
    j+=1
    print('case {0}: {1}'.format(j,i))

Submission status: Wrong Answer

Solution code:
while True:
	cn=1
	try:
		line = input()
		if line == '0':
			break	
	except EOFError:
		break
		
	print('Case {}: {}'.format(cn,line))
	cn = cn+1

Submission status: Wrong Answer

Solution code:
for i in range(6):
    num = int(input())
    print("Case {}: {}".format(i, num))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = [3, 5, 11, 7, 8, 19, 0]
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: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = raw_input()
count = 1
for i in range(x.__len__()):
    if(i == "0"):
        break
    count = str(count)
    print("Case "+count+":"+x[i])
    count = int(count)
    count += 1

Submission status: Wrong Answer

Solution code:
#Repetitive Processing - Print Test Cases

x=list(map(int,input().split()))
for i in range(len(x)-1):
    print("Case " +str(i)+": "+str(x[i]))

Submission status: Wrong Answer

Solution code:
#Repetitive Processing - Print Test Cases

x=list(map(int,input().split()))
for i in range(len(x)-1):
    print("Case " +str(i+1)+": "+str(x[i]))

Submission status: Wrong Answer

Solution code:

Submission status: Wrong Answer

Solution code:
def printcase(n):
    print(n)

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

Submission status: Wrong Answer

Solution code:
def printcase(n):
    print("Case ", 1, n)

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

Submission status: Wrong Answer

Solution code:
def printcase(n):
    print("Case 1 ", n)

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
def execute(i, x):
    return 'Case {}: {}'.format(i, x) if x != 0 else None

if __name__ == '__main__':
    for i in range(1,10000):
        x = int(input())
        if x:
            print(execute(i, x))
        else:
            break

Submission status: Wrong Answer

Solution code:
for i,a in enumerate(iter(input,'0')):
 print(f'Case {i}: {a}')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

for i,j in zip(range(1,len(a)+1),a):
    print('Case {}: {}'.format(i,j))

Submission status: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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]))

Submission status: Wrong Answer

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]))

Submission status: Wrong Answer

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:
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
buffer = [int(x) for x in input().split()]
for num in range(len(buffer)):
    print('Case '+ str(num) +': '+ str(buffer[num]))

Submission status: Wrong Answer

Solution code:
buffer = []
while True:
    a = int(input())
    if a == 0:
        break
    buffer.append(a)
for num in range(len(buffer)):
    print('Case '+ str(num) +': '+ str(buffer[num]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/python3
# -*- coding: utf-8 -*-

import sys

num = 0
while True:
    s = sys.stdin.readline().strip()
    if s == '0':
        break
    num += 1
    print('Case: ', num, ' ', s, sep='')

Submission status: Wrong Answer

Solution code:


x=list(map(int,input()))

for n in x:
  i=1
  if n==0:
    break
  else:
    print("Case",i,":",n)
    i=i+1

Submission status: Wrong Answer

Solution code:


x=list(map(int,input()))

for n in x:
  i=1
  if n==0:
    break
  else:
    print("Case",i,":",n)
  i=i+1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
for i, x in enumerate(sys.stdin.readlines(), 1):
    if x == "0":
        break
    print("Case {0}: {1}".format(i, x.rstrip()))

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python

if __name__ == '__main__':
    for i in range(1, 10000):
        x = int(raw_input())
        if x==0:
            break

        print 'Case {}: {}'.format(i, x)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=[]
i=0
while 1:
    n=int(input())
    if n==0:
        break
    else:
        a.append(n)
        i=i+1
l=0
while l<i:
    print("case "+str(l+1)+": "+str(a[l]))
    l=l+1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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, a[i]))

Submission status: Wrong Answer

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, a[i]))

Submission status: Wrong Answer

Solution code:
def testcase(x):
    print("Case {}: {}".format(str(x),str(x)))

Submission status: Wrong Answer

Solution code:
def testcase(x):
    print("Case {}: {}".format(str(x),str(x)))
    

testcase(input())

Submission status: Wrong Answer

Solution code:
def testcase(x):
    print("Case {}: {}".format(str(x),str(x)))
    
while True:
    num = int(input())
    if num !=0:
        testcase(num)
    elif num == 0:
        testcase(num)
        break

Submission status: Wrong Answer

Solution code:
def testcase(num, x):
    print("Case {}: {}".format(str(num),str(x)))

cnt=0
while True:
    num = int(input())
    cnt+=1
    if num !=0:
        testcase(cnt,num)
    elif num == 0:
        testcase(cnt,num)
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = []
while(1):
    inp = int(input())
    if inp !=0:
        x.append(inp)
    else:
        x.append(inp)
        break

j=0
while(1):
    if(x[j]!=0):
        print("Case {} : {}".format(j,x[j]))
        j+=1
    else:
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

a = []

for line in sys.stdin:
    a.append(int(line))
print(a)

cnt = 0
for i in a:
    cnt += 1
    if i == 0:
        break
    print("Case " + str(cnt) + ": " + str(i))

Submission status: Wrong Answer

Solution code:
i=0
while 1 :
      a = int(input())
      if a==0 : break
      i+=1
      print "case %d : %d" %(i,a)

Submission status: Wrong Answer

Solution code:
num = 1
while True:
    a = input()
    if a == '0':
        break
    print('case ' + str(num) + ':' + str(a))
    num += 1

Submission status: Wrong Answer

Solution code:
num = 1
while True:
    a = input()
    if a == '0':
        break
    print('case ' + str(num) + ': ' + str(a))
    num += 1

Submission status: Wrong Answer

Solution code:
i = 1

while True:
    x=int(input())
    if x==False:
        break
    print("case {}: {}".format(i,x))
    i+=1

Submission status: Wrong Answer

Solution code:
#! python3
# print_test_cases.py

for i in range(10000):
    x = int(input())
    if x == 0:
        break
    print('Case ' + str(i) + ': ' + str(x))

Submission status: Wrong Answer

Solution code:
a=[]
i=0
while 1 :
	a.append(int(input()))
	i+=1
	if a[i-1] == 0:
		break
for j in range(i):
	print("Case 1: ",a[j])

Submission status: Wrong Answer

Solution code:
a=[]
i=0
while 1 :
	a.append(int(input()))
	i+=1
	if a[i-1] == 0:
		break
for j in range(i):
	print("Case %d: %d" % (j+1 ,a[j]))

Submission status: Wrong Answer

Solution code:
a=[]
i=0
while 1 :
	a.append(int(input()))
	i+=1
	if a[i-1] == 0:
		break
for j in range(i):
	print("Case  %d:  %d" % (j+1 ,a[j]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
count = 1
while True:
    x = int(input())
    if x == 0:
        break
    print("Case ",count,": ", x, sep="")

Submission status: Wrong Answer

Solution code:
input_value = None
i = 1

while True:
     input_value = int(input())
     if input_value == 0:
         break
     i += 1
     print("Case " + str(i) + ": " + str(input_value))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
i=1
j=1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8

import sys

a = []

for line in sys.stdin:
   a.append(int(line))


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

Submission status: Wrong Answer

Solution code:
import sys

if __name__ == '__main__':
    i = 1
    for line in sys.stdin:
        if line == '0':
            break
        print "Case %d: %s" % (i, line)
        i += 1

Submission status: Wrong Answer

Solution code:
lis = []
while True:
    x = int(input())
    lis.append(x)
    if x == 0:
        break
for y in lis:
    if y == 0:
        break
    z  = lis.index(y)
    print("Case "+str(z+1)+": "+str(lis[z]))

Submission status: Wrong Answer

Solution code:
lis = []
while True:
    x = int(input())
    lis.append(x)
    if x == 0:
        break
lis.pop()
for y in lis:
    z  = lis.index(y)
    print("Case "+str(z+1)+": "+str(lis[z]))

Submission status: Wrong Answer

Solution code:
for i in range(10000):
    k=int(input())
    if k==0:
        break
    else:
        print("Case "+str(i)+":"+str(k))

Submission status: Wrong Answer

Solution code:
for i in range(10000):
    k=int(input())
    if k==0:
        break
    else:
        print("Case "+str(i)+": "+str(k))

Submission status: Wrong Answer

Solution code:
li=[]
a=1
while(a!=0):
    a=int(input())
    li.append(a)
for i in range(1,len(li)+1):
    if li[i-1]!=0:
        print("case　{0}: {1}".format(i,li[i-1]))
    else:
        break

Submission status: Wrong Answer

Solution code:
x = input()
xlist = x.split(' ')
for i in range(len(xlist)):
    if xlist[i] == '0':
        break
    else:
        print('Case', i+1, xlist[i])

Submission status: Wrong Answer

Solution code:
x = input()
xlist = x.split(' ')
i = 1
for item in range(len(xlist)):
    if item == '0':
        break
    else:
        print('Case', i, item)
        i += 1

Submission status: Wrong Answer

Solution code:
x = input()
xlist = x.split(' ')
i = 1
for item in xlist:
    if item == '0':
        break
    else:
        print('Case', i, item)
        i += 1

Submission status: Wrong Answer

Solution code:
number = 0
x = input()
x = int(x)
if 1 <= x and x <= 10000:
    number += 1
    print("Case" + str(number) + ":" + str(x))

Submission status: Wrong Answer

Solution code:
number = 0
x = input()
x = int(x)
if 1 <= x and x <= 10000:
    number += 1
    print("Case " + str(number) + ": " + str(x))

Submission status: Wrong Answer

Solution code:
i = 1
while 1:
    x = input()
    x = int( x )
    if x == 0:
        break
    print( "case " + str( i ) + ": " + str( x ) )
    i += 1

Submission status: Wrong Answer

Solution code:
def solve(test):

    for i in range(len(test)):
        print("Case {0}: {1}".format(i,test[i]))

    
 

def answer():
    
    test =[]
    while True :
        n = input()
        if n=='0':
            break
        else:

            test.append(n)
    solve(test)


   

if __name__ =='__main__':
    answer()

Submission status: Wrong Answer

Solution code:
# itp1_3_b

i = 1

while True:
    x=int(input())
    if x==False:
        break
    print("case {}: {}".format(i,x))
    i+=1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
c = 0
for x in sys.stdin:
    c += 1
    print 'Case %d: %s' %(c, x)

Submission status: Wrong Answer

Solution code:
import sys
c = 0
for x in sys.stdin:
    c += 1
    print 'Case %d: %s' %(c, int(x))

Submission status: Wrong Answer

Solution code:
import sys
c = 0
for line in iter(sys.stdin.readline, ""):
    c += 1
    print 'Case %d: %s' %(c, int(line))

Submission status: Wrong Answer

Solution code:
import sys
c = 0
line = sys.stdin.readline()
while line:
    c += 1
    print 'Case %d: %s' %(c, int(line))
    line = sys.stdin.readline()

Submission status: Wrong Answer

Solution code:
import sys
c = 0
for line in sys.stdin:
    c += 1
    print 'Case %d: %d' %(c,int(line))

Submission status: Wrong Answer

Solution code:
import sys
for i,w in enumerate(sys.stdin):
    print 'Case %s: ' % str(i+1) +w[:-1]

Submission status: Wrong Answer

Solution code:
while True:
    i = input()
    if i != 0:
        print 'Case i: %d' %i
    else: break

Submission status: Wrong Answer

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

Submission status: Time Limit Exceeded

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

Submission status: Time Limit Exceeded

Solution code:
sum=0
while 1:
 x=raw_input
 sum+=1
 if x == '0':
    break
 print 'Case %s: %s' %(sum, x)

Submission status: Time Limit Exceeded

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

Submission status: Time Limit Exceeded

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

Submission status: Time Limit Exceeded

Solution code:
import sys
i = 1
while True:
    x = sys.stdin.readline().strip()
    if x == 0:
        break
    print('Case %d: %s' % (i, x))
    i += 1

Submission status: Time Limit Exceeded

Solution code:
import sys
count = 1
while True:
    x = sys.stdin.readline().strip()
    if x == 0:
        break
    print("Case {}: {}".format(count,x))
    count += 1

Submission status: Time Limit Exceeded

Solution code:
import sys
cnt = 1
while 1:
    for x in sys.stdin.readline().strip():
        if x == 0:break
    print('Case{}:{}'.format(cnt,x))
    cnt += 1

Submission status: Time Limit Exceeded

Solution code:
case = []
i = j = 0

while True:
    num = int(input())
    if num == 0:
        break
    case.append(num)
    i += 1

while j < i:
    print("Case",end=' ')
    print(j+1,end=': ')
    print(case[j])

Submission status: Time Limit Exceeded

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

Submission status: Time Limit Exceeded

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

Submission status: Time Limit Exceeded

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

Submission status: Time Limit Exceeded

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

Submission status: Time Limit Exceeded

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

Submission status: Time Limit Exceeded

Solution code:
numbers = []
while True:
    n = int(input())
    if n == 0:
        break
    numbers.append(n)
leng = len(numbers) + 1
for i in range(1,leng):
    for n in numbers:
        print('Case ' + str(i) + ': ' + str(n))

Submission status: Time Limit Exceeded

Solution code:
numbers = []
while True:
    n = input()
    if n == '0':
        break
    numbers.append(n)
leng = len(numbers) + 1
for i in range(1,leng):
    for n in numbers:
        print('Case ' + str(i) + ': ' + n)

Submission status: Time Limit Exceeded

Solution code:
from itertools import count

for i in count(1):
    if i == "0":
        break
    else:
        print(i)

Submission status: Time Limit Exceeded

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

Submission status: Time Limit Exceeded

Solution code:
import sys
cnt = 1
while True:
    x = sys.stdin.readline().strip()
    if x == 0:
        break
    print("Case {}: {}".format(cnt,x))
    cnt += 1

Submission status: Time Limit Exceeded

Solution code:
import sys
cnt = 1
while 1:
    x = sys.stdin.readline().strip()
    if x == 0:
        break
    print("Case {}: {}".format(cnt,x))
    cnt += 1

Submission status: Time Limit Exceeded

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

Submission status: Time Limit Exceeded

Solution code:
a = [] 
while True:
    n = 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: Time Limit Exceeded

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

Submission status: Time Limit Exceeded

Solution code:
#coding: UTF-8

x=int(input())

i=1

while x !=0:
    print('Case {}: {}'.format(i,x))
    i=i+1

Submission status: Time Limit Exceeded

Solution code:
#coding: UTF-8

x=int(input('>'))

i=1

while x !=0:
    print('Case {}: {}'.format(i,x))
    i=i+1

Submission status: Time Limit Exceeded

Solution code:
#coding: UTF-8

x=int(input('>'))

i=1

while x !=0:
    print('Case {}: {}'.format(i,x))
    i=i+1;

Submission status: Time Limit Exceeded

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

Submission status: Time Limit Exceeded

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

Submission status: Time Limit Exceeded

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

Submission status: Time Limit Exceeded

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

Submission status: Memory Limit Exceeded

Solution code:
import warnings

for i in range(99999999):
	data = input()
	if(data == 0):
		break
	else:
		print "Case " + str(i) + ": " + str(data)

Submission status: Accepted

Solution code:
import sys


def main():
    i = 1
    while True:
        x = int(sys.stdin.readline())
        if x != 0:
            print("Case {0}: {1}".format(i, x))
            i += 1
        else:
            break
    return


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
index = 1
while True:
    x = int(input())
    if x == 0:
        exit()
    else:
        # Case 1: 3
        # Case 1: 3
        print('Case {}: {}'.format(index, x))
        index += 1

Submission status: Accepted

Solution code:
i = 0

while(True):
    i += 1
    num = int(input())
    if num == 0:
        break
    print("Case ",end = "")
    print(i,end = ": ")
    print(num)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = []
count = 0
while True:
    a.append(int(input()))
    if a[count] == 0:
        break
    count += 1
for i in range(count):
    print('Case %d'%(i+1)+': %d'%a[i])

Submission status: Accepted

Solution code:
v = 0
i = 0
a = []
while v == 0:
    x = input()
    if 0 == int(x):
        v = 1
    else:
        a.append(int(x))
        i = int(i) + 1

for j in range(int(i)):
    print('Case %d: %d' % (int(j)+1,a[int(j)] ))

Submission status: Accepted

Solution code:
a5=[]
while True:
    x=int(input())
    if x==0:
        break
    a5.append(x)
j = 0
for i in a5:
    print("Case " + str(j+1)+": "+ str(i))
    j=j+1

Submission status: Accepted

Solution code:
s = []
while True:
    x = int(input())
    if x == 0:
        break
    s.append(x)
for (i,num) in enumerate(s):
    print('Case {0}: {1}'.format(i+1,num))

Submission status: Accepted

Solution code:
a = []
while True:
    b = input()
    b = int(b)
    if b == 0:
        break
    else:
        a.append(b)
for i in range(len(a)):
    c = i+1
    print("Case "+str(c)+": "+str(a[i]))

Submission status: Accepted

Solution code:
counter=0

while True:
    counter+=1
    x=int(input())
    if x==0:
        break
    print("Case "+str(counter)+": "+str(x))

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
# TP1_3_B

# N=input()
# print(N)
N=-1
# while N != 0:
#     N=int(input())
#     print(N)
for i in range(1,10001):
    N=int(input())
    if N == 0:
        break
    print('Case {0}: {1}'.format(i,N))

Submission status: Accepted

Solution code:
x = int(input())
i=1

while x!=0:
    print('Case {0}: {1}'.format(i,x))
    x = int(input())
    i+=1

Submission status: Accepted

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

Submission status: Accepted

Solution code:
cnt = 1
while 1:
    tmp = int(raw_input())
    if tmp == 0:
        break
    else:
        print "Case " + str(cnt) + ": " + str(tmp)
        cnt+=1

Submission status: Accepted

Solution code:
i = 0

while True:
    i += 1
    x = int(input())
    if x == 0: break

    print("Case ", i, ": ", x, sep = "")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
case_num = 1

while True:
    tmp_num = int(input())
    if tmp_num == 0:
        break
    else:
        print("Case %d: %d" % (case_num,tmp_num))
        case_num += 1

Submission status: Accepted

Solution code:
import sys
for i, x in enumerate(iter(sys.stdin.readline, '0\n'), 1):
    print(f'Case {i}: {x[:-1]}')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i=int(input())
l=[]
while i!=0:
    l.append(i)
    i=int(input())
for d in range(len(l)):
    print "Case "+str(d+1)+": "+str(l[d])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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