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:
v = 0
i = 0
x = []
while v == 0:
    a = input()
    if 0 == int(a):
        v = 1
    else:
        x.append(int(a))
        i = int(i) + 1

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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,100):
    N=int(input())
    if N == 0:
        break
    print('Case {0}:{1}'.format(i,N))

Submission status: Wrong Answer

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,100):
    N=int(input())
    if N == 0:
        break
    print('Case {0}: {1}'.format(i,N))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
i=1
while int(input())!=0:
   print(input())

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
for i in range(0,1000):
    print("Hello World")

Submission status: Wrong Answer

Solution code:
x = input().rsplit()
for i in range(len(x) - 1):
    a = i + 1
    print("Case "+ str(a) + ": " + str(x[i]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
inpu_list = list(map(int, input().split()))
for i in range(len(inpu_list) - 1):
    print("Case %d: %d" % (i + 1, inpu_list[i]))

Submission status: Wrong Answer

Solution code:
inpu_list = list(map(int, input().split()))
for i, x in enumerate(inpu_list):
    if x != 0:
        print("Case %d: %d" % (i + 1, x))

Submission status: Wrong Answer

Solution code:
repeat = True
i = 0
while repeat:
    i += 1
    num = int(input())
    if num == 0:
        repeat = False
    print('Case {i}: num')

Submission status: Wrong Answer

Solution code:
repeat = True
i = 0
while repeat:
    i += 1
    num = int(input())
    if num == 0:
        repeat = False
    print('Case {i}: {num}')

Submission status: Wrong Answer

Solution code:
repeat = True
i = 0
while repeat:
    i += 1
    num = int(input())
    if num == 0:
        repeat = False
    print(f'Case {i}: {num}')

Submission status: Wrong Answer

Solution code:
Indata = input()

Submission status: Wrong Answer

Solution code:
flg = 1
i=0
while flg:
    i=i+1
    Indata = int(input())
    print("Case" +str(i) + ": " + str(Indata))
    if Indata == 0:
        flg=0

Submission status: Wrong Answer

Solution code:
count = 1
while(1):
    try:
        n = int(input())
        print("Case {}: {}".format(count,n))
        count += 1
    except EOFError:
        break

Submission status: Wrong Answer

Solution code:
num = 0
while num < 1000:
    print("Hello World")
    num += 1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = 1
while n < 10000:
    x = input('Case {0}:'.format(n))
    if int(x) == 0:
        break

Submission status: Wrong Answer

Solution code:
n = 1
while n <= 10000:
    x = input('Case {0}:'.format(n))
    if int(x) == 0:
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
count = 0
while count < 1000:
  count += 1
  print("Hello World")

Submission status: Wrong Answer

Solution code:
count = 0
for i in range(1,10000):
  a = input()
  a = int(a)
  if a > 1:
    count += 1
    print('Case ',count,': ',a)
  else:
    break

Submission status: Wrong Answer

Solution code:
count = 0
for i in range(1,10000):
  a = input()
  a = int(a)
  if a > 1:
    count += 1
    print('Case '+str(count)+': '+str(a))
  else:
    break

Submission status: Wrong Answer

Solution code:
count = 0
for i in range(1,10000):
  a = input()
  a = int(a)
  if a > 1:
    count += 1
    print('Case '+str(count)+': '+str(a))
  else:
    break

Submission status: Wrong Answer

Solution code:
count = 0
for i in range(1,100000):
  a = input()
  a = int(a)
  if a > 1:
    count += 1
    print('Case '+str(count)+': '+str(a))
  else:
    break

Submission status: Wrong Answer

Solution code:
count = 0
for i in range(1,10000000000):
  a = input()
  a = int(a)
  if a > 1:
    count += 1
    print('Case '+str(count)+': '+str(a))
  else:
    break

Submission status: Wrong Answer

Solution code:
count = 0
for i in range(10000):
  a = input()
  a = int(a)
  if a > 1:
    count += 1
    print('Case '+str(count)+': '+str(a))
  else:
    break

Submission status: Wrong Answer

Solution code:
count = 0
for i in range(1,10000):
  a = input()
  a = int(a)
  if a > 0:
    count += 1
    print('Case '+str(count)+': '+str(a))
  elif a ==0:
          break

Submission status: Wrong Answer

Solution code:
count = 0
for i in range(1,10000):
  a = input()
  a = int(a)
  if a > 0:
    count += 1
    print('Case '+str(count)+': '+str(a))
  else:
    break

Submission status: Wrong Answer

Solution code:
count = 0
for i in range(1,10000):
  a = input()
  a = int(a)
  if a > 0:
    count += 1
    print('Case '+str(count)+': '+str(a))
  else:
    break

Submission status: Wrong Answer

Solution code:
cnt=0
while(True):
    x=input()
    cnt+=1
    if cnt>=10000 or x==0: break
    print('Case {}: {}'.format(cnt,x))

Submission status: Wrong Answer

Solution code:
i=1
for x in [int(x) for x in input().split()]:
    if x != 0:
        print('Case {0}: {1}'.format(i,x))
        i += 1

Submission status: Wrong Answer

Solution code:
i=1
for x in [int(x) for x in input().split()]:
    if x==0:
        break
    else:
        print('Case {0}: {1}'.format(i,x))
        i += 1

Submission status: Wrong Answer

Solution code:
s=1
while True:
    i=input()
    if i=='0': break
    print('case '+str(s)+':', i)
    s+=1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

j=1
for i in a:
  print("case",j,":",i)
  j=j+1

Submission status: Wrong Answer

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

j=1
for i in a:
  print("case %d: %d" % (j,i))
  j=j+1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
for i in range(1,10000):
  x = int(input())
  if(x == 0):
    break
  print('Case', ' ', i, ':', ' ',  x, sep='')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
for i in range(10000):
    line = input()
    if line == "0":
        break
    else:
        print("Case ", "i: ", line)

Submission status: Wrong Answer

Solution code:
for i in range(10000):
    line = input()
    if line == "0":
        break
    else:
        print("Case", "i:", line)

Submission status: Wrong Answer

Solution code:
for i in range(10000):
    line = input()
    if line == "0":
        break
    else:
        print("Case ", i, ": ", line)

Submission status: Wrong Answer

Solution code:
for i in range(10000):
    line = input()
    if line == "0":
        break
    else:
        print("Case %i: %s", i, line)

Submission status: Wrong Answer

Solution code:
for i in range(10000):
    line = input()
    if line == "0":
        break
    else:
        print("Case %d: %s", i, line)

Submission status: Wrong Answer

Solution code:
def main(ctr, x):
    ctr += 1
    print('Case {0}: {1}'.format(ctr, x))

if __name__ == '__main__':
    ctr = 0
    x = input().strip()
    main(ctr, x)

Submission status: Wrong Answer

Solution code:
def main(ctr, x):
    ctr += 1
    print('Case {0}: {1}'.format(ctr, x))

if __name__ == '__main__':
    ctr = 0
    x = input().strip()
    if x == '0':
        main(ctr, x)

Submission status: Wrong Answer

Solution code:
import sys

l = sys.stdin.readlines()
ll = len(l)
for i in range(1,ll+1):
    print(f"Case {i}: " + str(l[i-1]),end="")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
flag = "go"
while flag == "go":
    x = int(input())
    if x == 0:
        flag = "stop"
    else:
        print("Case i: " + str(x))

Submission status: Wrong Answer

Solution code:
for i in range(10000):
    n = int(input())
    if n:
        print(f'Case {i}: {n}')

Submission status: Wrong Answer

Solution code:
for i in range(1,10000):
    n = int(input())
    if n:
        print(f'Case {i}: {n}')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
i = 0

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

    if x== 0 : break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
list = []
while True:
    if(int(input()) == 0): break
    else: list.append(int(input()))
    
c = 0
for i in list:
    c = c + 1
    print("Case %d:%d" %(c,i))

Submission status: Wrong Answer

Solution code:
list = []
while True:
    if(int(input()) == 0): break
    else: list.append(int(input()))
    

for i in range(len(list)):
    print("Case %d:%d" %(i,list[i]))

Submission status: Wrong Answer

Solution code:
list = []
while True:
    if(int(input()) == 0): break
    else: list.append(int(input()))
    

for i in range(len(list)):
    print("Case %d: %d" %(i,list[i]))

Submission status: Wrong Answer

Solution code:
list = []
while True:
    if(int(input()) == 0): break
    else: list.append(int(input()))
    

for i in range(len(list)):
    print("Case %d: %d" %(i+1,list[i]))

Submission status: Wrong Answer

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

for i in range(len(list)):
    print("Case %d: %d" %(i,list[i]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
i=0
a=list()
while True :
    a=int(input())
    i+=1
    print("Case" , i ,":",a)
    if a == 0:
        break

Submission status: Wrong Answer

Solution code:
list =[]
i=0
index=1

while(index != 0):
    index=int(input())
    list.append(index)
    i +=1

for i in range(0,i):
    print("Case",i+1,":",list[i])

Submission status: Wrong Answer

Solution code:
list =[]
i=0
index=1

while(index != 0):
    index=int(input())
    list.append(index)
    i +=1

for i in range(0,i):
    print("Case",i+1,end='')
    print(":",i)

Submission status: Wrong Answer

Solution code:
list =[]
i=0
index=1

while(index != 0):
    index=int(input())
    list.append(index)
    i +=1

for i in range(0,i):
    print("Case",i+1,end='')
    print(":",list[i])

Submission status: Wrong Answer

Solution code:
x_list=map(int,raw_input().splitlines())

for i,x in enumerate(x_list):
    if x!=0:
        print 'Case '+str(i)+': '+str(x)

Submission status: Wrong Answer

Solution code:
x_list=map(int,raw_input().splitlines())

for i,x in enumerate(x_list):
    if x!=0:
        print 'Case '+str(i+1)+': '+str(x)

Submission status: Wrong Answer

Solution code:
for i,x in enumerate(raw_input().splitlines()):
    if x!='0':
        print 'Case %d: %s' % (i+1,x)

Submission status: Wrong Answer

Solution code:
x = 0

while x == 0:
    x +=1
    y = int(input())
    if y == 0:
        break
print ("Case %d: %d" %(x,y))

Submission status: Wrong Answer

Solution code:
x = 0

while x == 0:
    x +=1
    y = (input())
    if y == 0:
        break
print ("Case %d: %s" %(x,y))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
L=raw_input().split()
for k,v in enumerate(L):
    print "Case "+str(k+1)+": "+str(v)

Submission status: Wrong Answer

Solution code:
L=raw_input().split()
i=1
for v in L:
    if not v:
       break
    print ('Case {}: {}'.format(i,v))
    i+=1

Submission status: Wrong Answer

Solution code:
list = []
x = 1
while x > 0:
  x = input()
  list.append(x)

for i,j in enumerate(list):
  print "Case " + str(i) + ": " + str(j)

Submission status: Wrong Answer

Solution code:

1
2
3
4
5
6
7
8
list = []
x = 1
while x > 0:
  x = input()
  list.append(x)
 
for i,j in enumerate(list):
  print "Case " + str(i+1) + ": " + str(j)

Submission status: Wrong Answer

Solution code:
import sys, itertools

for count, input in zip(itertools.count(1), sys.stdin):
    if input == '0':
        break
    print("Case {}: {}".format(count, input))

Submission status: Wrong Answer

Solution code:
c = 0

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

Submission status: Wrong Answer

Solution code:
c = 0

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

    print('Case [0]: [1]'.format(c, x))
    c += 1

Submission status: Wrong Answer

Solution code:
c = 1

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

    print('Case [0]: [1]'.format(c, x))
    c += 1

Submission status: Wrong Answer

Solution code:
c = 1                                                                       
a = []
while True:
    x = int(input())
    a = a + [x]
    if x == 0:
        break;

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Fri Jan 30 17:18:51 2015

@author: hirose
"""

#Repetitive Processing - Print Test Cases

n = map(int, raw_input().split())

for i in range(len(n)):
    if(n[i] != 0):
        print "Case ", i+1, ": ", n[i]
    else:
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
c = 1

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

Submission status: Wrong Answer

Solution code:
c = 1

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

Submission status: Wrong Answer

Solution code:
c = 1

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
stack = []
a=1
while not a==0:
	a=input()
	stack.append(a)
stack.remove(0)
for i, a in enumerate(stack):
	print "Caes%s:%s" % (i+1,a)

Submission status: Wrong Answer

Solution code:
stack = []
a=1
while not a==0:
	a=input()
	stack.append(a)
stack.remove(0)
for i, a in enumerate(stack):
	print "Caes %s:%s" % (i+1,a)

Submission status: Wrong Answer

Solution code:
stack = []
a=1
while not a==0:
	a=input()
	stack.append(a)
stack.remove(0)
for i, a in enumerate(stack):
	print "Caes %s: %s" % (i+1,a)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
while True:
	x = int(raw_input())
	if x == 0:
		break
	else:
		print "Case: %d" % x

Submission status: Wrong Answer

Solution code:
def main():
	i = 1
	while True:
		num = int(input())
		print('Case ', i ,': ', num)
		i += 1

		if num == 0:
			break


if __name__=="__main__":
	main()

Submission status: Wrong Answer

Solution code:
def main():
	i = 1
	while True:
		num = int(input())
		print('Case {0}: {1}'.format(i, num))
		i += 1

		if num == 0:
			break


if __name__=="__main__":
	main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
data=list(map(int,input().splitlines()))
n=0
for i in data:
	if i==0:
		break
	print("Case {0}: {1}".format(n,i))
	n=n+1

Submission status: Wrong Answer

Solution code:
data=list(map(int,input().splitlines()))
n=1
for i in data:
	if i==0:
		break
	print("Case {0}: {1}".format(n,i))
	n=n+1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n=1

ff=map(int,input().splitlines())
for i in ff:
	if i==0:
		break
	print("Case {0}: {1},".format(n,i))
	n=n+1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = raw_input().split()
for i in range(len(x)):
    if float(x[i])==0:
        break
    print "Case",i + 1,":",x[i]

Submission status: Wrong Answer

Solution code:
i = 0
a = []
while True:
    x = raw_input().split()
    print x[0]
    if int(x[0]) == 0:
        break
    else:
        a.append(x)
    
for j in range(len(a)):
    print "Case", j + 1,":"," ".join(map(str,a[j]))

Submission status: Wrong Answer

Solution code:
cases = []
flag = 1
while flag:
	n = int(raw_input())
	if n == 0:
		flag = 0
	cases.append(n)

for i in range(len(cases) - 1):
	print "Case %d: %d" %(i, cases[i])

Submission status: Wrong Answer

Solution code:
cases = []
n = 1
while n != 0:
	n = int(raw_input())
	if n == 0:
		continue
	cases.append(n)


for i in range(len(cases)):
	print "Case %d: %d" %(i, cases[i])

Submission status: Wrong Answer

Solution code:
cases = []
n = 1
while n != 0:
	n = int(raw_input())
	if n == 0:
		continue
	cases.append(n)
for i in range(len(cases)):
	print "Case %d: %d" %(i, cases[i])

Submission status: Wrong Answer

Solution code:
i = 0
n = 1
while n != 0:
	n = int(raw_input())
	if n == 0:
		continue
	print "Case %d: %d" %(i, n)
	i += 1

Submission status: Wrong Answer

Solution code:
case = 0
x = input()

while(x!=0):
	print "Case %d: %d" % (case, x)
	x = input()
	case += 1

Submission status: Wrong Answer

Solution code:
a=1
while 1:
    i = int(raw_input())
    if i == 0:
    	print 'Case %d: %d'%(a, i)
        break
    else:
        print 'Case %d: %d'%(a, i)
        a += 1

Submission status: Wrong Answer

Solution code:
a=1
while 1:
    i = int(raw_input())
    if i == 0:
    	print 'Case '+ str(a)+': '+ str(i)
        break
    else:
        print 'Case %d: %d'%(a, i)
        a += 1

Submission status: Wrong Answer

Solution code:
x = input()
i = 1
if (x == 0) :
    exit()
else :
    o = "Case " + str(i) + ":" + str(x)
    print o
    i += 1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
l = []
while True:
  i = str(input())
  if i == '0':
    break
  else:
    l.append(i)
t = 0
for i in l:
  print('Case '+str(t)+': '+i)

Submission status: Wrong Answer

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

data=[]

while 1:
    x=input()
    data.append(x)
    if x==0:
        break
i=0
while 1:
    print "Case %d: %d" %(i+1,data[i])
    i+=1
    if data[i-1]==0:
        break

Submission status: Wrong Answer

Solution code:
in_str = input()
for var in range(1,3):
    print("Case" + str(var) + ": " + in_str)

Submission status: Wrong Answer

Solution code:
import sys

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

Submission status: Wrong Answer

Solution code:
import sys

in_strs = sys.stdin.readlines(50000)
i = 1
for in_str in in_strs:
    if in_str == "0":
        break
    else:
        print("Case " + str(i) + ": " + in_str.rstrip())
        i += 1

Submission status: Wrong Answer

Solution code:
import sys
 
in_strs = sys.stdin.readlines(5000000)
i = 1
for in_str in in_strs:
    if in_str == "0":
        break
    else:
        print("Case " + str(i) + ": " + in_str.rstrip())
        i += 1

Submission status: Wrong Answer

Solution code:
import sys

in_strs = sys.stdin.readlines()
i = 1
for in_str in in_strs:
    if in_str == "0":
        break
    else:
        print("Case {0}: {1}".format(str(i), in_str.rstrip()))
        i += 1

Submission status: Wrong Answer

Solution code:
import sys

in_strs = sys.stdin.readlines()
i = 1
for in_str in in_strs:
    if in_str == "0":
        break
    else:
        print("Case {0}: {1}".format(str(i), in_str.strip()))
        i += 1

Submission status: Wrong Answer

Solution code:
import sys

in_strs = sys.stdin.readlines()
i = 1
for in_str in in_strs:
    if in_str == "0":
        break
    else:
        print("Case {0}: {1}".format(str(i), in_str), end="")
        i += 1

Submission status: Wrong Answer

Solution code:
import sys

in_strs = sys.stdin
i = 1
for in_str in in_strs:
    if in_str == "0":
        break
    else:
        print("Case {0}: {1}".format(str(i), in_str), end="")
        i += 1

Submission status: Wrong Answer

Solution code:
import sys

for i,ws in enumerate(sys.stdin,1):
    w = ws[:-1]
    print("Case %d: %s" % (i,w))

Submission status: Wrong Answer

Solution code:
for i in range(1000):
  x = int( raw_input() )
  if x == 0:
    break
  print "Case %d: %d" %(i,x)

Submission status: Wrong Answer

Solution code:
i = 0
while 1:
 i+=1
 case = raw_input()
 if case == '0':
  break
 else:
  print"Case "+str(i)+" "+str(case)

Submission status: Wrong Answer

Solution code:
i = 0

while True:
 i += 1
 x = raw_input()
 if x == "0":
  break
 print "case %d: %s" % (i, x)

Submission status: Wrong Answer

Solution code:
i = 0

while True:
 i += 1
 x = raw_input()
 if x == '0':
  break
 print 'case %d: %s' % (i, x)

Submission status: Wrong Answer

Solution code:
i = 0

while True:
 i += 1
 x = raw_input()
 if x == '0':
  break
 print 'case %d: %s' % (i,x)

Submission status: Wrong Answer

Solution code:
m = map(int,raw_input().split())
for i in range(len(m)):
 if(m[i]==0):
  break
 print"Case %s: %s"%(i+1,m[i])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
k = 0
i = 0
  
while k == 1:
   i =+ 1
   x = input()
   if x == 0:
      k = 1
   else:
      print "Case %d: %d" & (i, x)

Submission status: Wrong Answer

Solution code:
k = 0
i = 0
   
while k == 1:
   i =+ 1
   x = input()
   if x == 0:
      k = 1
   else:
      print "Case %d: %d" % (i, x)

Submission status: Wrong Answer

Solution code:
k = 0
i = 0
    
while k == 1:
   i += 1
   x = input()
   if x == 0:
      k = 1
   else:
      print "Case %d: %d" % (i, x)

Submission status: Wrong Answer

Solution code:
k = 0
i = 0
     
while k == 1:
   i += 1
   x = input()
   if x == 0:
      k = 1
   else:
      print "Case %d: %d" % (i,x)

Submission status: Wrong Answer

Solution code:
k = 0
i = 0
     
while k == 1:
   i += 1
   x = input()
   if x == 0:
      k = 1
   else:
      print "Case %d: %d" %(i, x)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
k = 0
i = 0
     
while (k == 1):
   i += 1
   x = input()
   if x == 0:
      k = 1
   else:
      print "Case %d: %d" %(i, x)

Submission status: Wrong Answer

Solution code:
i = 0

while True:
  i += 1
  x = input()
  if x == 0:
    break
  print "case %d: %d" %(i, x)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = -100
i = 1
while n != 0:
   n = int(raw_input())
   if n != 0:
      print 'case %d: %d' %(i,n)
      i = i + 1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
i = 1

while 1:
  x = input()
  if x == 0:
    break
  else:
    print 'case %d: %d' % (i, x)
    i += 1

Submission status: Wrong Answer

Solution code:


for i in range(0,1000):
     
    k=int(raw_input())

    if k==0:
        break
    print(k)