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):
x = int(input())
num = 1
while x != 0:
    print ( "Case " + str(num) + ": " + str(x))
    num += 1
    x = int(input())

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

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

Solution (Python):
xlist = []

while(1):
    x = input()
    xlist.append(x)
    if x == "0":
        break

for i, x in enumerate(xlist):
    if x == "0":
        break
    print("Case " + str(i+1) + ": " + x)

Solution (Python):
cnt = 0

while True:
    cnt += 1
    x = input()

    if (int(x) == 0):
        break

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

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

Solution (Python):



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

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

Solution (Python):
for i in range(1,10001):
    a = int(input())
    if(a == 0):
        break
    print("Case", end=" ")
    print(i, end=": ")
    print(a)

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

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

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

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

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

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

Solution (Python):
for i in range(1,10000+1):
    v = input()
    print(f'Case {i}: {v}')

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 = 0
list = []
while True:
    i += 1
    num = int(input())
    if num == 0:
        break
    list.append(num)

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

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

Solution (Python):
li = []

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

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

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

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

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

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

Solution (Python):
kaisu = 1
num2 = []
while True:
	num = input()
	if num != "0":
		num2.append(num)
	else:
		break
for i in num2:
	print("Case {}: {}".format(kaisu, i))
	kaisu += 1

Solution (Python):
import sys

for n, i in enumerate(sys.stdin.readlines()):
    if int(i) != 0:
        print('Case ', n+1, ': ', i, sep='', end='')
    else:
        break

Solution (Python):
for i in range(10000):
    try:
        num=input()
        if num!='0':
            print('Case '+str(i+1)+': '+num)
    except EOFError:
        break

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

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

Solution (Python):
i=0

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

    if x==0:
        break
    
    print("Case {}: {}".format(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 {}: {}".format(i, x))
    i += 1

Solution (Python):
count = 1

while True:
    num = input()

    if int(num) == 0:
        break

    print(f'Case {count}: {num}')

    count += 1

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

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

Solution (Python):
i = 1

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

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

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

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

Solution (Python):
a = []
for i in range(10000):
    j = int(input())
    if j == 0:
        break
    a.append(j)
cnt = 0
for i in a:
    cnt += 1
    print('Case {0}: {1}'.format(cnt,i))

Solution (Python):

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

Solution (Python):

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

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):
a = int(input())
Fin = (False if a != 0 else True)
printer = []
while not Fin:
    temp, a = a, int(input())
    printer.append(temp)
    if a == 0:
        Fin = True

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

Solution (Python):
import sys

i = 1

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

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

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

Solution (Python):
import sys
a = sys.stdin.readlines()[:-1]
for i in range(len(a)):
    print('Case {}: {}'.format(i+1, a[i]), end='')

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

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

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

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

Solution (Python):
a = []

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

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

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

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

Solution (Python):
sss = int(input())
counter = 1
while not sss == 0:
	print('Case '+str(counter)+': '+str(sss))
	sss = int(input())
	counter += 1

Solution (Python):


def main():

	a = []
	i = 1
	while True:
		a = int(raw_input())
		if a == 0:
			break
		print('Case %d: %d' % (i,a))
		i += 1

if __name__ == "__main__":

	main()

Solution (Python):
data = []
for x in range(0,1000000):
    a = int(input())
    if a == 0:
        break
    data.append(a)
for x in range(0,len(data)):
    print("Case",x+1,end='')
    print(":",data[x])

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

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