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):
i = 1
l = []
while True:
  n = int(input())
  if n == 0:
    break
  else:
    l.append( f'Case {i}: {n}' ) 
    i += 1

for j in l:
  print(j)

Solution (Python):
i=0
while True:
    data=int(input())

    if not data:
        break

    i+=1
    print(f"Case {i}: {data}")

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

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

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

Solution (Python):
a=0

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

Solution (Python):
for i in range(10000):
    a = int(input())
    if a is 0:
        break
    print("Case %d: %d" %(i+1,a ))

Solution (Python):
i = 1

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

    print(f'Case {i}: {x}')
    i += 1

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

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

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

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

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

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

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

Solution (Python):
count = 1
while(True):
    x = int(input())
    if(x == 0):
        break
    else:
        print("Case %d: %d" % (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):
c = 1
while True:
 x = int(input())
 if x == 0:
  break
 print("Case ", c, ": ", x, sep="")
 c += 1

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

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

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

Solution (Python):
num=0
while True:
	x = int(input())
	num += 1
	if x==0:
		break
	print(f'Case {num}: {x}')

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

Solution (Python):
import sys

t = 1

for line in sys.stdin:
  x = int(line)

  if x == 0:
    break

  print("Case {}: {}".format(t, x))

  t += 1

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

Solution (Python):
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

Solution (Python):
cnt = 1

while True:
    x = int(input())

    if x == 0:
        break

    print(f"Case {cnt}: {x}")

    cnt += 1

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

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

Solution (Python):
import sys

i=1
for s in sys.stdin:
  n = int(s)
  if n == 0:
    break
  print("Case ",i,": ",n,sep="")
  i += 1

Solution (Python):
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

Solution (Python):
n=0

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

Solution (Python):
for i in range(1, 10001):
    x = int(input())
    if x == 0:
        break
    print("Case {0}: {1}".format(i, x))

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

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

Solution (Python):
i = 1

while True:

    x = int(input())

    if x == 0:
        break

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

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

Solution (Python):
count_val1 = 0
list1 = []
for count_val in range(1, 10001):
    input_val = input()
    list1.append(input_val)
    if int(input_val) == 0:
        print("Case 1: {}".format(list1[0]))
        for count_val1 in range(int(len(list1)) - 2):
            print("Case {}: {}".format(int(count_val1) + 2, list1[int(count_val1) + 1]))
            count_val1 += count_val1
        exit()
for count_val1 in range(len(list1)):
    print("Case {}: {}".format(int(count_val1) + 1, list1[count_val1]))
    count_val1 += count_val1

Solution (Python):
i = 1
while True:
    n = int(input())
    if n == 0:
        break
    print("Case {}: {}".format(i, n))
    i = 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):
num = 1
while True:
    x = int(input())
    if x == 0: break
    print ("Case {0}: {1}".format(num,x))
    num += 1

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

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

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

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

Solution (Python):
i = 1
while True:
  x = int(input())
  if x == 0: break
  print("Case %d: %d"%(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):
i = 1
while True:
    x = int(input())
    if x == 0:
        break
    print('Case ',i,': ',x,sep='')
    i += 1

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

Solution (Python):
case_number = 1

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

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

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

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

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

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

Solution (Python):
i = 1
while True:
    num = int(input())
    if num == 0:
        break;
    
    print(f'Case {i+1-1}: {num}')
    
    i += 1

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

Solution (Python):
a=int(input())
count=1
while a!=0:
    print('Case'+' '+str(count)+':'+' '+str(a))
    count+=1
    a=int(input())

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

Solution (Python):

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

Solution (Python):
for i in range(1, 10000 + 1):
    x = int(input())
    if x == 0:
        break
    print('Case {}: {}'.format(i, 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):
c = 0
while True:
    x = int(input()); c += 1
    if x == 0: break
    print("Case {}: {}".format(c, x))

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

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

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

Solution (Python):
i = 1

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

Solution (Python):

x = []
for i in range(10000):
    x.append(int(input()))
    if x[i] == 0:
        break
    else:
        print("Case ",i+1,": ",x[i],sep = "")

Solution (Python):
import sys
a = []
for l in sys.stdin:
    a.append(int(l))

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

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

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


if __name__ == "__main__":
    main()

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

Solution (Python):
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

Solution (Python):
count = 1

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

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

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

Solution (Python):
input_data = int(input())
i = 1

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

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

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

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

Solution (Python):
if __name__ == '__main__':
	c = 1
	i = int(input())
	while i != 0:
		print("Case "+str(c)+": "+str(i))
		c = c+1
		i = int(input())

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

Solution (Python):





class math:
    
    def gcd(self, a, b):
        if b == 0:
            return a
        return self.gcd(b, a%b)








temp = 1
inputlist = []
while True:
    temp = input()
    if temp == "0":
        break
    inputlist.append(temp)






for i, num in enumerate(inputlist):
    print("Case {}: ".format(i+1)+num)

Solution (Python):
num_tc = 0
s= ''

while s !='0':
    s = input()
    if s != '0':
        num_tc += 1
        print('Case {}: {}'.format(num_tc,s))

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

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

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

Solution (Python):
x = int(input())
y = 1
while x != 0:
  print('Case ',y,': ',x,sep='')
  x = int(input())
  y += 1

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

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

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

Solution (Python):
list = []
i = 0
while i < 10000:
    a = int(input())
    if a != 0:
        list.append(a)
    else:
        break
    i += 1
for (j,k) in enumerate(list):
    print("Case " + str(j+1) + ": " + str(k))

Solution (Python):
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

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

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

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

Solution (Python):
from itertools import count
for i in count(1):
    s = input()
    if s == '0': break
    print(f'Case {i}: {s}')

Solution (Python):
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

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

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

Solution (Python):
i = 0
while True:

    i = i + 1
    x = int(input())
    if x == 0:
        break
    else:
        i = str(i)
        x = str(x)
        ans = "Case " + i + ": " + x
        print(ans)
        i = int(i)
        continue

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

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

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

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

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

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

Solution (Python):
count = 1

while True:
    i = int(input())
    if i != 0 and count <= 10000:
        print('Case {}: {}'.format(count, i))
    else:
        break
    count += 1

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

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

Solution (Python):
i = 1

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

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

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

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

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

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

Solution (Python):
count = 0

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

Solution (Python):
datas = []
while True:
    n = int(input())

    if n == 0:
        break
    else:
        datas.append(n)

for i, data in enumerate(datas):
    print("Case {0}: {1}".format(i+1, data))

Solution (Python):


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

Solution (Python):
i = 0
x = 1
while x != 0 and i != 10000:
    i += 1
    x = int(input())
    print("Case ", i, ": ", x, sep = "")

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

Solution (Python):
case_num = 1

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

Solution (Python):
c=1
while 1:
    n=int(input())
    if n==0:break
    print("Case",f'{c}:',n)
    c+=1

Solution (Python):
i=1

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

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

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

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)+": "+str(a[i]))

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

Solution (Python):
import sys
a = []
line_count = 0
for line in sys.stdin:
    a.append(int(line))
    line_count += 1
for i in range(line_count):
    if a[i] == 0:
        break
    else:
        print('Case' + ' ' + str(i + 1) + ': ' + str(a[i]))

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

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

Solution (Python):
import sys
data = sys.stdin.readlines()
for i in range(len(data)):
    if data[i].rstrip() != '0':
        print('Case ' + str(i + 1) + ': ' + str(data[i].rstrip()))
    else:
        break

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

Solution (Python):





if __name__ == '__main__':
    i = 1
    while 1:
        line = raw_input()
        if line == '0':
            break
        print "Case %d: %s" % (i, line)
        i += 1

Solution (Python):
c=1

while True:
  
    x = int(input())
    if x == 0:
        break
    print ('Case ',c,': ',x,sep='')
    c= c + 1

Solution (Python):
i = 1

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

Solution (Python):
count = 1;
while True:
    if count == 10001:
        break
    x = int(input())
    if x == 0:
        break
    print('Case', count,end='')
    print(':',x)
    count+= 1

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

Solution (Python):
i = 1
while True:
    x = int(input())

    if x == 0:
        break

    print('Case ' + str(i) + ': ' + str(x))

    i += 1

Solution (Python):
i = 1
while True:
	x = int(input())
	if x ==0:break
	print(f"Case {i}: {x}")
	i = 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 {}: {}".format(i+1,a[i]))

Solution (Python):
for i in range(1,10001):
    x = int(input())
    if x == 0:
        break
    print("Case {0}: {1}".format(i,x))

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

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

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

Solution (Python):
for i in range(1, 10001):
    s = input()
    if s == '0':
        exit()
    print('Case %d:' % i, s)

Solution (Python):
import itertools
for case in itertools.count(1):
    x = int(input())
    if not x: break
    print(f'Case {case}: {x}')

Solution (Python):
k = 0

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

Solution (Python):
num = []
while True:
    n = int(input())
    if n == 0:
        break
    num.append(n)


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

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

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

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

Solution (Python):

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

Solution (Python):
n = 1

while True:
    inp = int(input())
    if inp:
        print(f'Case {n}: {inp}')
    else:
        break
    n += 1

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

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

Solution (Python):
num = []
for a in range(10000):
    x = int(input())
    if  x == 0:
        break
    num.append(x)
for i in range(len(num)):
    print("Case " + str(i+1) + ": " + str(num[i]))

Solution (Python):
for i in range(1,10001):
  x=int(input())
  if x==0:
    break
  else:
    print("Case {}: {}".format(i, x))

Solution (Python):
is_zero = False
case = 1
while not is_zero:
    num = int(input())
    if num == 0:
        is_zero = True
    else:
        print(f'Case {case}: {num}')
        case += 1

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

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

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

Solution (Python):


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

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


main()

Solution (Python):
tgt = input()
cnt = 1
while int(tgt) > 0:
	print('Case ' + str(cnt) + ': ' + tgt)
	tgt = input()
	cnt += 1

Solution (Python):
inputDataList = []
while(1):
    inputData = int(input())
    if inputData != 0:
        inputDataList.append(inputData)
    else:
        break

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

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

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

Solution (Python):
x = int(input())
i = 1
while x > 0:
	print('Case %d: %d' %(i, x))
	i += 1
	x = int(input())

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

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

Solution (Python):
a = int(input())
i=1

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

Solution (Python):
for i in range(10000):
    x = input()
    if x != '0':
        print('Case %d:'%(i+1), int(x))
    else:
        break

Solution (Python):
x = eval(input())
i = 0
while x != 0:
    i += 1
    print(f'Case {i}: {x}')
    x = eval(input())

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

Solution (Python):
boolean = True
string_list = []
while boolean:
    string = input()
    if int(string) == 0:
        boolean = False
    else:
        string_list.append(string)

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

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

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

a.pop(-1)
i = 0
for s in a:
    i += 1
    print('Case', str(i) + ':', s)

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

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

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

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

Solution (Python):
for i in range(999999999999999):
    i +=1
    x = int(input())
    if x==0:
        break
    print("Case {}: {}".format(i,x))

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

Solution (Python):
list = []
a = int(input())
while (a != 0):
    list.append(a)
    a = int(input())

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

Solution (Python):
for i in range(1,10001):
    a=int(input())
    if i != 0:
        print("Case {0}: {1}".format(i,a))
    else:
        break

Solution (Python):
def main():
    lines = list(get_input())
    for i, line in enumerate(lines):
        if int(line) == 0:
            break
        print("Case {}: {}".format(i+1, int(line)))

def get_input():
    while True:
        try:
            line = input()
            if line == '':
                break
            else: 
                yield line
        except EOFError:
            break


if __name__ == "__main__":
    main()

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

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

Solution (Python):
import sys

for i, line in enumerate(sys.stdin, 1):
    x = int(line.strip())
    if x == 0:
        break
    print(f'Case {i}: {x}')

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

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

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

for i, j in enumerate(list):
    print("Case {}: {}".format(i+1, j))

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

Solution (Python):
for x in range(10000):
  a = int(input() )
  if a == 0:
    break
  print("Case {}: {}".format(x + 1, a) )

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

Solution (Python):
for i in range(1,10001):
    ci = input()
    if ci == '0':
        break
    print(f'Case {i}: {ci}')

Solution (Python):
for i in range(1,10001):
    k=int(input())
    if k==0:
        break
    else:
        print("Case %d: %d" %(i,k))

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

Solution (Python):
count = 1

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

Solution (Python):
case=1
num_input=int(input())

while num_input!=0:
    print("Case "+str(case)+": "+str(num_input))
    num_input=int(input())
    case=case+1

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

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

Solution (Python):
import sys
for i in range(1,sys.maxsize):
    s=int(input())
    if s==0:
        break
    else:
        print("Case",str(i)+":",s)