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

Solution (Python):
import warnings


n = 0
i = 0
while (n == 0): 

	i = i + 1

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

Solution (Python):
count = 1
while True:
    x = input().strip()
    if x == '0':
        break
    else:
        print( 'Case %s: %s' % ( count, x))
        count += 1

Solution (Python):
count = 1
while True:
    x = input().strip()
    if x == '0':
        break
    else:
        print( 'Case %s: %s' % ( count, x))
        count += 1

Solution (Python):
count = 1
while True:
    x = input().strip()
    if x == '0':
        break
    print('Case %s: %s' % (count, x))
    count = count + 1

Solution (Python):
count = 1
while True:
    x = input().strip()
    if x == '0':
        break
    print('Case %s: %s' % (count, x))
    count = count + 1

Solution (Python):
import sys
 
ff = sys.stdin
  
cnt = 1
for line in ff :
    if int(line) == 0 : break
    print("Case {0}: {1}".format(cnt, line), end="")
    cnt += 1

Solution (Python):
l = []
while True:
    value = int(raw_input())
    if value == 0:
        break
    else:
        l.append(value)

for i, v in enumerate(l, 1):
    print("Case %d: %d") % (i, v)

Solution (Python):
count = 1
while True:
    x = input().strip()
    if x == '0':
        break
    print('Case %s: %s' % (count, x))
    count = count + 1

Solution (Python):
list = []
while True:
  line = raw_input()
  list.append(line)
  if line == "0":
    break

i = 0
for x in list[:-1]:
  i += 1
  print "Case %d: %s" % (i, x)

Solution (Python):
count = 1
while True:
	x = input().strip()
	if x =='0':
	   break
	print('Case %s: %s' % (count, x))
	count = count + 1

Solution (Python):
count = 1
while True:
    x = input().strip()
    if x == '0':
        break
    else:
        print( 'Case %s: %s' % ( count, x))
        count += 1

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

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

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

Solution (Python):
import sys
  
ff = sys.stdin
   
cnt = 1
for line in ff :
    if int(line) == 0 : break
    print("Case {0}: {1}".format(cnt, line), end="")
    cnt += 1

Solution (Python):
import sys
count = 1
while True:
    x = input().strip()
    if x == '0':
         break
    print('Case %s: %s' % (count, x))
    count = count + 1

Solution (Python):
count = 1
while True:
    x = input().strip()
    if x == '0':
        break
    print('Case %s: %s' % (count, x))
    count = count + 1

Solution (Python):
count = 1
while True:
    x = input().strip()
    if x == '0':
        break
    print('Case %s: %s' % (count, x))
    count = count + 1

Solution (Python):
import sys
   
ff = sys.stdin
    
cnt = 1
for line in ff :
    if int(line) == 0 : break
    print("Case {0}: {1}".format(cnt, line), end="")
    cnt += 1

Solution (Python):
count = 1
while True:
    x = input().strip()
    if x == '0':
        break
    else:
        print('Case %s: %s' %(count, x))
        count = count + 1

Solution (Python):
import sys
 
ff = sys.stdin
  
cnt = 1
for line in ff :
    if int(line) == 0 : break
    print("Case {0}: {1}".format(cnt, line), end="")
    cnt += 1

Solution (Python):
import sys

a = sys.stdin
 
count = 1
for line in a:
    if int(line) == 0:
    	break
    print("Case {0}: {1}".format(count, line), end="")
    count = count + 1

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

Solution (Python):
import sys
line = 999
prm = list()
while line != 0 :
    line = int(sys.stdin.readline())
    prm.append(line)

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

Solution (Python):
(lambda *_: None)(
    *map(print,
         map('Case {0[0]}: {0[1]}'.format,
             enumerate(iter(input, '0'), 1))))

Solution (Python):
i=1
while True:
	n=int(raw_input())
	if n==0: break
	print 'Case'+" "+str(i)+":",
	print n
	i+=1

Solution (Python):
i = 1
flag = True
while flag:
    
    x = int(raw_input())
    if x != 0:
        print 'Case %s: %s' % (i,x)
        i += 1
    else:
        flag = False

Solution (Python):
nums = []
num = input()

while num != 0:
	nums.append(num)
	num = input()

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

Solution (Python):
x = input()
x = int(x)
num = 1

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

Solution (Python):
a=[]
while True:
	b=input()
	if b==0:
		break
	a.append(b)
i=0
for num in a:
	print 'Case {0}: {1}'.format(i+1,num)
	i+=1

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

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

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

Solution (Python):
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 + 1, cases[i])

Solution (Python):
i = 1
while True :
	x = int(raw_input())
	if x == 0 :
		break
	else :
		print u"Case %d: %d" % (i, x)
	i = i + 1

Solution (Python):
import sys
 
ff = sys.stdin
  
cnt = 1
for line in ff :
    if int(line) == 0 : break
    print("Case {0}: {1}".format(cnt, line), end="")
    cnt += 1

Solution (Python):
case = 1
x = input()

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

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

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

Solution (Python):
a = []
while True:
    tmp = input()
    if tmp == 0:
        break
    a.append(tmp)
for x in xrange(0,len(a)):
    print "Case "+str(x+1)+": " + str(a[x])

Solution (Python):

count = 1
while True:
	input = raw_input()
	if input == "0":
		break
	text = "Case " + ": ".join(map(str, (count, input)))
	print(text)
	count += 1

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

Solution (Python):



x_list = []
while True:
    x = int(raw_input())
    if x == 0:
        break
    else:
        x_list.append(x)

for i, x in enumerate(x_list, 1):
    print("Case %d: %d") % (i, x)

Solution (Python):
count = 0

while True:

	count += 1
	num = int(input())

	if num == 0:

		break

	print("Case", str(count) + ":", num)

Solution (Python):
a=[]
i=0
while True:
  i+=1
  a=input()
  if a==0:
    break
  print "Case {0}: {1}".format(i, a)

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

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

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

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

Solution (Python):
nums = []
while True:
    num = int(raw_input())
    if num == 0:
        break
    nums.append(num)
for i in range(0,len(nums)):
    print "Case " + str(i+1) + ": " + str(nums[i])

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

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

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

Solution (Python):
import sys

for i,ws in enumerate(sys.stdin,1):
    w = ws[:-1]

    if w == '0':
        break

    print("Case %d: %s" % (i,w))

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

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

Solution (Python):
s = 1
while True:
	t = int(input())
	if (t == 0):
		break
	else:
		print("Case " + str(s) + ": " + str(t))
	s += 1

Solution (Python):


x = []
while ( 1 ):
    
    temp = int( input() )
    
    if (temp == 0):
        break

    x.append(temp)

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

Solution (Python):
s = 1
while True:
	t = int(input())
	if t == 0:
		break
	else:
		print("Case "+str(s)+": "+str(t))
	s += 1

Solution (Python):
i=1
while True:
    n=input()
    if not n:
        break
    print "Case %d: %d"%(i,n)
    i+=1

Solution (Python):
t = 1
while True:
	s = int(input())
	if (s == 0):
		break
	else:
		print("Case " + str(t) + ": " + str(s))
		t += 1

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

Solution (Python):
n = 10
i = 1
while n != 0:
 n = input()
 if n == 0:
     break
 print "Case " + str(i) + ": " +str(n)
 i = i + 1

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

Solution (Python):
i=1
while True:
    n=int(input())
    if n!=0:
        print("Case %d: %d"%(i,n))
        i=i+1
    else:
        break

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

Solution (Python):
i=0
while 1:
    i+=1
    case=input()

    if case==0:
        break
    print "Case "+str(i)+": "+str(case)

Solution (Python):
 

import sys
for i,ws in enumerate(sys.stdin, 1):
    w = ws[:-1]
    if w =='0': break
    print 'Case %d: %s' % (i, w)

Solution (Python):
i = 1
while True:
    n = input()
    if n != 0:
        print 'Case %s: %s' % (str(i), str(n))
        i = i + 1
    else:
        break

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

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

Solution (Python):
i = 1
while(1):
  x = int(raw_input())

  if x == 0:
    break

  print "Case %d: %d" %(i,x)
  i += 1

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

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

Solution (Python):
i=0

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

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

Solution (Python):
i = 0

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

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

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

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

Solution (Python):
i = 1

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

Solution (Python):
i=0

while True:
    i=i+1 
    k=int(raw_input())

    if k==0:
        break
    print("Case "+str(i)+": "+str(k))

Solution (Python):
cnt=1
while 1:
    x=int(raw_input())
    if x==0:
        break
    print "Case %d: %d" % (cnt,x)
    cnt+=1;

Solution (Python):
import sys
 
c = 0
for line in sys.stdin:
	if line[0] == '0':
		break
	c+=1
	print 'Case %s: %s' %(c,line),

Solution (Python):
i = 0
while 1:
  i += 1
  x = int(raw_input())
  if x == 0:
    break
  else:
    print 'Case {0}: {1}'.format(i, x)

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

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

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

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

Solution (Python):
i = 0
while 1:
    i+=1
    v = raw_input()
    if v == '0':
       break
    print ('Case {}: {}'.format(i,v))

Solution (Python):
i = 0
while 1:
    i+=1
    x = raw_input()
    if x == '0':
       break
    print ('Case {}: {}'.format(i,x))

Solution (Python):
n = []
i = 0

while True:
  n.append(int(input()))
  if n[i] == 0:
    break
  i += 1

for j in range(i):
  print("Case " + str(j+1) + ": " + str(n[j]))

Solution (Python):
i = 1

while True:
    n = input()
    if n == 0:
        break
    else:
        print "Case %d: %d" % (i, n)
        i = i + 1

Solution (Python):
n = input()
i = 1
while n != 0:
  print "Case %d: %d" % (i, n)
  n = input()
  i += 1;

Solution (Python):
a=1
while 1:
    x=int(raw_input())
    if x==0:
        break
    print "Case %d: %d" % (a,x)
    a+=1;

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

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

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

Solution (Python):
import fileinput
for i, line in enumerate(fileinput.input()):
    x = line.strip()
    if x != '0':
        print "Case %d: %s" % (i + 1, x)
    else:
        break

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

Solution (Python):
n=[]
while 1:
    num=raw_input()
    if num=="0":
        break
    else :
        n.append(num)
for i in xrange(len(n)):
    print("Case "+str(i+1)+": "+n[i])

Solution (Python):
answer = 1
while True:
	t = int(input())
	if (t == 0):
		break
	else:
		print("Case "+ str(answer) +": "+ str(t))
		answer += 1

Solution (Python):
i = 0
while True:
    i += 1
    num = raw_input()
    if num == "0":
        break
    print "Case %d: %s" % (i,num)

Solution (Python):


l = raw_input()

a = int(l)
x = 1

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

	l = raw_input()
	a = int(l)
	if l == 0:
		print "end"

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

Solution (Python):
Ns = []
while True:
	a = input()
	if a == 0:
		break
	else:
		Ns.append(a)

for i, item in enumerate(Ns):
	print "Case {0}: {1}".format(i + 1, Ns[i])

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

Solution (Python):
cnt = 1
while 1:
	x=int(input())
	if x == 0:
		break;
	print("Case %d: %d"%(cnt,x))
	cnt+=1

Solution (Python):
cnt = 1
while 1:
	x=int(input())
	if x == 0:
		break;
	print("Case %d: %d"%(cnt,x))
	cnt+=1

Solution (Python):
i = 0
while True:
    t = int(input())
    if t == 0:
        break
    else:
        i += 1
        print('Case '+str(i)+': '+str(t))

Solution (Python):
count=1
while True:
 x=int(input())
 if not(x):break
 print('Case %d: %d'%(count, x))
 count+=1

Solution (Python):
for i, x in enumerate(iter(lambda: int(input()), 0), 1):
  print ("Case {}: {}".format(i, x))

Solution (Python):
for i, x in enumerate(iter(lambda: input(), "0"), 1):
  print ("Case {}: {}".format(i, x))

Solution (Python):


L = []
x = 1
y = 2
while x < y:
    a = input()
    if a == 0:      
        break
    else:
        L.append(a)

for i in xrange(len(L)):
    print("Case " + str(i + 1) + ": " + str(L[i]))

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

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

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

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

Solution (Python):


import sys

i = 0
for line in sys.stdin:
    if line[0] == "0":
        break
    i += 1
    print "Case %s: %s" %(i, line),

Solution (Python):

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

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

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

Solution (Python):

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

Solution (Python):
class PrintTestCases:
    def __init__(self):
        self.i = 1

    def output(self, x):
        print "Case %d: %d" % (self.i, x)
        self.i += 1

if __name__ == "__main__":
    ptc = PrintTestCases();
    while True:
        x = int(raw_input())
        if x == 0:
            break
        ptc.output(x)

Solution (Python):
i = 0
d = 0

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

Solution (Python):
x = []
while True:
  i = str(input())
  if i == '0':
    break
  else:
    x.append(i)
n = 0
for i in x:
  n += 1
  print('Case '+str(n)+': '+i)

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

for i,v in enumerate(a):
    print "Case "+str(i+1)+": " + str(v)

Solution (Python):
i = 0
while(1):
    i += 1
    x = int(raw_input());
    if(x == 0): break;
    else: print "Case %d: %d" %(i, x)

Solution (Python):
x = []
while True:
	if 0 in x:
		break
	x.append(int(input()))
x.pop()
for i, v in enumerate(x):
	print(('Case %d: %d') % (i+1, v))

Solution (Python):
a=input()
i=0
j=""
Case="Case"
while a>0 or a<0:
        i+=1
        print Case,
        print str(i)+":",
        print a
        a=input()

Solution (Python):
i = 0

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

Solution (Python):

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

Solution (Python):
import sys

s = sys.stdin

cnt = 1
for i in s:
    if int(i)== 0:
        break
    print("Case {0}: {1}".format(cnt,i),end="")
    cnt += 1

Solution (Python):
input_array = []

while True:
    input_num = int(raw_input())
    if input_num == 0:
        break
    input_array.append(input_num)

for x in range(0, len(input_array)):
    print("Case {}: " + str(input_array[x])).format(x+1)

Solution (Python):
import sys

i = 1
while(True):
    x = int(sys.stdin.readline())
    if(x == 0):
        break
    print("Case %d: %d" % (i, x))
    i += 1

Solution (Python):
cnt = 0
while(True):
    n = int(input())
    if n == 0:
        break
    print('Case {0}: {1}'.format(cnt + 1, n))
    cnt += 1

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

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

Solution (Python):



































data=[]
i=0


while 1:
	data.append(int(input()))
	if data[i]==0:
		break;
	i=i+1

j=i

for i in range(j):
	print("Case {0}: {1}".format(i+1, data[i]))

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

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

Solution (Python):



i = 1
x = 1
while x != 0:
    x = input()
    if x == 0:
        break

    print "Case " + str(i) +": " + str(x)
    i += 1

Solution (Python):
i=1
while 1:
	x=int(raw_input())
	if x==0:	
		break
	else:
		print "Case %d: %d" %(i,x)
	i += 1

Solution (Python):
import sys
cnt = 1
while 1:
    x=sys.stdin.readline().strip()
    if x == '0':
        break;
    print("Case " + str(cnt) + ": " + x)
    cnt+=1

Solution (Python):
import sys
cnt = 1
while 1:
    x=sys.stdin.readline().strip()
    if x == '0':
        break;
    print("Case " + str(cnt) + ": " + x)
    cnt+=1

Solution (Python):
import sys
num = 0

while 1:
    x = sys.stdin.readline().strip()
    if x == "0":
        break
    num = num + 1
    print("Case " + str(num) + ": " + x)

Solution (Python):
import sys
num = 0
while 1:
    x = sys.stdin.readline().strip()
    if x == "0":
        break
    num = num + 1
    print("Case " + str(num) + ": " + x)

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

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

Solution (Python):


def main(): 
	nums = []
	while True:
		x = int(input())
		if x == 0:
			break
		nums.append(x)
	for i in range(len(nums)):
		print("Case %d: %d" % (i + 1, nums[i]))
	
if __name__ == '__main__':
  main()

Solution (Python):
import sys
for i, x in enumerate(map(int, sys.stdin)):
  if x == 0 or not x:
    break;
  print('Case {0}: {1}'.format(i + 1, x))

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

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

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

Solution (Python):
a = input()
for i in xrange(10000) :
    print "Case " + str(i+1) + ": " + str(a)
    a = input()
    
    if (a == 0) :
        break

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

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

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

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

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

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

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

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

Solution (Python):
import sys

count = 0
num = []
while True:
	x = int(input())
	if x == 0 :
		break
	num.append(x)

for i in range(len(num)):
	print ("Case " + str((i+1)) + ":",num[i] )

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

Solution (Python):

import sys

line = sys.stdin

count = 1
for x in line :
	if int(x) == 0 :
		break
	print('Case {0}: {1}'.format(count, x), end='')
	count += 1

Solution (Python):

import sys

line = sys.stdin

count = 1
for x in line :
	if int(x) == 0 :
		break
	print('Case {0}: {1}'.format(count, x.strip()))
	count += 1

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

Solution (Python):
count = 1

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

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

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

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

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

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

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

Solution (Python):
b = []
i = 1
while 1:
    x = int(input())
    b.append(x)
    if x == 0:
        break

for x in b:
    if x == 0:
        break
    print("Case ", (i), ': ', (x), sep='')
    i += 1

Solution (Python):
a =[]
x = 1
while x > 0:
    x = int(input())
    a.append(x)
for i in range(0,len(a)-1):
    print('Case ',i+1,': ',a[i],sep='')

Solution (Python):
count = 1

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

    else:
        break

Solution (Python):
count =1

while True:

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

Solution (Python):
count = 1

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

Solution (Python):
count = 1

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

    else:
        break

Solution (Python):
count = 1

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

    else:
        break

Solution (Python):
count = 1

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

    else:
        break

Solution (Python):
count = 1

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

    else:
        break

Solution (Python):
count = 1

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

Solution (Python):
count = 1

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

Solution (Python):
count = 1

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

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

Solution (Python):
count = 1

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

    else:
        break

Solution (Python):
count = 1

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

Solution (Python):
import sys
 
c = 0
while True:
    i = int(sys.stdin.readline())
    if (i == 0):
        break
    c+=1
    print("Case " + str(c) + ":", i)

Solution (Python):
cnt = 0
while True:
	a = input()
	if a == '0':
		break
	cnt += 1
	print('Case {0}: {1}'.format(cnt,a))

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

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

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

Solution (Python):
i = 1
a = input()
while a != 0:
	print "Case %d: %d" % (i, a)
	i = i + 1
	a = input()

Solution (Python):
lis = []
a = int(raw_input())
while a != 0:
 lis.append(a)
 a = int(raw_input())

for i,v in enumerate(lis):
 print "Case %d: %d" % (i+1,v)

Solution (Python):
lis = []
a = raw_input()
while a != '0':
 lis.append(a)
 a = raw_input()

for i,v in enumerate(lis):
 print "Case %d: %s" % (i+1,v)

Solution (Python):
i = 1
while True:
 a = raw_input()
 if a == '0':
  break
 print "Case %d: %s" % (i,a)
 i = i + 1

Solution (Python):
i = 1
while True:
 a = raw_input()
 if a == '0':
  break
 print "Case %d: %s" % (i,a)
 i += 1

Solution (Python):
i = 1
while True:
 a = raw_input()
 if a == '0':
  break
 print "Case %s: %s" % (i,a)
 i += 1

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

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

Solution (Python):
count = 1
while True:
    a = int(input())
    if a == 0:
        break
    print('Case %s: %s' % (count,a))
    count += 1

Solution (Python):
import sys

s = [x.strip() for x in sys.stdin.readlines()]
for i, j in enumerate(s):
    if j == '0':
        break
    print('Case {}: {}'.format(i + 1, j))

Solution (Python):
for i in range(1, 100000):
    num = int(input())
    if num == 0:
        break
    print('Case ' + str(i) + ':', num)