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):
from __future__ import division, print_function
from sys import stdin

i = 1
for line in stdin:
    x = int(line)
    if x == 0:
       break
    print ("Case %d: %d" % (i, x))
    i += 1

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

Solution (Python):
if __name__ == '__main__':

    numbers = []

    while True:
        x = int(raw_input())
        if x == 0:
            break
        numbers.append(x)

    i = 1

    for n in numbers:
        print 'Case %d: %d' % (i, n)
        i += 1

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

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

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

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

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):
table=[]
n = 0
while True:
    s = int(input())
    if s == 0:
        break
    table.append(s)

for i in table:
    n+=1
    print('Case {}: {}'.format(n,i))

Solution (Python):
x = []
count = 0

while(1):
    num = int(input())
    if (num == 0):
        break
    count = count + 1
    x.append(num)

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

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

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

Solution (Python):
a=0

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

Solution (Python):
for i in range(1, 100000):
    x = int(input())
    if x == 0:
        exit()
    print('Case ', i, ': ', x, sep='')

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

Solution (Python):

list=[int(a) for a in input().split()]

n=0

while True:
    num = int(input())
    if num == 0:
        break
    list.append(num)
    
for i, e in enumerate(list):
    i=i+1
    print("Case {}: {}".format(i, e))

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):
for i in range(1,10001):
    x = int(input())
    if x == 0:
        break
    print("Case " + str(i) + ": " + str(x))

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

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

Solution (Python):
input_list = []

while True:
    num = int(input())
    if num == 0:
        break
    else:
       input_list.append(num)

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

Solution (Python):
lists=[]
for i in range(10000):
    a=input()
    if a=="0":
        break
    lists.append(a)

i=1

for j in lists:
    print("Case {0}: {1}".format(i,j))
    i=i+1

Solution (Python):
i=int(0)

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

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

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

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

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

Solution (Python):
l = list()
casenum = 0

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

    l.append(x) 

for num in l:
    print("Case {}: {}".format(casenum+1,l[casenum]))
    casenum += 1

Solution (Python):
value_list = []
while True:
    value = input()
    if value == "0":
        break
    if value:
        value_list.append(value)
for i, num in enumerate(value_list, 1):
    print(f"Case {i}: {num}")

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

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

Solution (Python):
stopper = 1
data = []
while stopper == 1:
	a = int(input())
	if a == 0:
		stopper = 0
	else:
		data.append(a)
for k in range(len(data)):
	print("Case ",(k+1),": ",data[k],sep = "")

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

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

Solution (Python):
import sys
i = 1
while True:
    N = int(input())
    if N != 0:
        print('Case {0}: {1}'.format(i, N))
        i += 1
    elif N == 0:
        sys.exit()

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

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

Solution (Python):

x = list()
i = 0

while True:
    z = int(input())
    x.append(z)
    if x[i] == 0:
        break
    else:
        print("Case ",i+1,": ",x[i],sep="")
        i += 1

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

Solution (Python):
import sys
num = []
s = sys.stdin.readlines()
for t in s:
    num.append(int(t.split()[0]))

for i,n in enumerate(num):
    if n == 0:
        break
    print(f"Case {i+1}: {n}")

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

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

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

Solution (Python):
l = list()
while True:
    x = int(input())
    if x == 0:
        break
    l.append(x)
    
for i in range(len(l)):
    print(f"Case {i+1}: {l[i]}")

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

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

Solution (Python):
list=[int(a) for a in input().split()]

n=0

while True:
    num = int(input())
    if num == 0:
        break
    list.append(num)
    
for i, e in enumerate(list):
    i=i+1
    print("Case {}: {}".format(i, e))

Solution (Python):
i = 0

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

Solution (Python):
cases = 1

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

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

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(f"Case {i}: {x}")
    i += 1

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

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

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

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

Solution (Python):
i = 1

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

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

Solution (Python):

nums = []
while True:
    n = input()
    if n == '0':
        break
    nums.append(n)

for i, v in enumerate(nums,start=1):
    print(f'Case {i}: {v}')

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

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

Solution (Python):
q = []
while True:
    n = int(input())
    q.append(n)
    if n == 0:
        q.remove(0)
        break
ans = 0
for i in range(1,len(q)+1):
    print("Case {}:".format(i),q[ans])
    ans += 1

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

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

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

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

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

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

Solution (Python):

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

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

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

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

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

sample()

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
l=[]
while True:
  e = str(input())
  if e=="0":
    break
  l.append(e)

i=1
for l in l:
  print("Case "+str(i)+": "+l)
  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 :
    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 ", str(i), ": ", str(x), sep="")
    i += 1

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

Solution (Python):
for i in range(1,10001):
    N = int(input())
    if N == 0:
        exit()
    print(f"Case {i}: {N}")

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

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

    print("Case " + str(i) + ": " + n)

    i += 1

Solution (Python):
import sys
i = 1
while True:
    n = int(input())
    if n == 0:
        sys.exit()
    print('Case {0}: {1}'.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):
C=[]
while True:
    n=int(input())
    if n==0:
        break
    C.append(n)
for k in range(1,len(C)+1):
    print(f"Case {k}: {C[k-1]}")

Solution (Python):

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

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

Solution (Python):




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


if __name__ == '__main__':
    main()

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

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

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

Solution (Python):
num = 0
cases = []
a = 0

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

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

Solution (Python):
i=1

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

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

Solution (Python):
case_num = 1


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

Solution (Python):
c=0

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

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

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

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

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

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:
    x = int(input())
    if x == 0:
        break
    print(f'Case {i}: {x}')
    i=i+1

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

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

Solution (Python):
import sys
for cnt, l in enumerate(sys.stdin):
	if l == "0\n":
		break
	print(f"Case {cnt+1}: {int(l)}")

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

Solution (Python):
l=list()
while True:
    x=int(input())
    if x==0:
        break
    l.append(x)
for i in range(len(l)):
    print(f"Case {i+1}: {l[i]}")

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

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

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

Solution (Python):
XS = open(0).read().split()
for i, x in enumerate(XS):
    if x == "0":
        break
    else:
        print("Case {}: {}".format(i+1, x))

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

Solution (Python):
x=[int(input()) for i in range(10000)]

for i in range(10000):
    if x[i] == 0:
        break
    else:
        print(f"Case {i+1}: {x[i]}")

Solution (Python):
count = 1
while True:
    value = int(input())
    if value == 0:
        break
    print(f"Case {count}: {value}")
    count += 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):
i = 1
while True:
    n = int(input())
    if n == 0:
        break
    print(f"Case {i}: {n}")
    i += 1

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

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

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

Solution (Python):
flg = 1
ls = []
count = 1
while 1:
    n = int(input())
    if n != 0:
        ls.append(n)
        print("Case ",count,": ",n,sep="")
        count += 1
    else:
        break

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

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

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

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

Solution (Python):
l = []
while True:
  i = input()
  if i == '0':
    break
  l.append(i)
for ind, item in enumerate(l):
  print(f'Case {ind+1}: {item}')

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

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

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

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

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

Solution (Python):
counter = 0

while True:
    num = int(input())

    if num == 0:
        break

    counter += 1
    print("Case %d: %d" % (counter, num))

Solution (Python):
import sys


def resolve():
    idx = 1
    for num_s in sys.stdin:
        num = int(num_s)
        if num == 0:
            break
        print("Case {}: {}".format(idx, int(num)))
        idx += 1


resolve()

Solution (Python):
import sys
input = sys.stdin.readline

counter = 1

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

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

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

Solution (Python):
num=1
case=1
while(num):
  num=int(input())
  if num >0:
    print('Case {}: {}'.format(case,num))
    case+=1

Solution (Python):
inp = []
var = 1
while var == 1:
    item = int(input())
    inp.append(item)
    if inp[-1] == 0:
        break

for i in range(0,len(inp)-1):
    print('Case %d: %d' % (i+1, inp[i]))

Solution (Python):
lst =[]
for i in range(10000):
    lst.append(int(input()))
    if lst[i] == 0:
        for v in range(len(lst)-1):
            print(f'Case {v+1}: {lst[v]}')
        break
if 0 not in lst:
    for i in range(10000):
        print(f'Case {i+1}: {lst[i]}')

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

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

Solution (Python):
l = []
while True:
  io = int(input())
  if io == 0:
    break
  l.append(io)
i = 1
for n in l:
  print("Case {0}: {1}".format(i, n))
  i += 1

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

Solution (Python):
case_cnt = 1
while(True):
    l = int(input())
    if l == 0:
        break
    print("Case",case_cnt,end = '')
    print(":",l)
    case_cnt+=1

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

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

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

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

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

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

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:
    x = int(input())
    if x == 0: break
    i = i + 1
    print('Case ' + str(i) + ': ' + str(x))

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):
i=1
while True:
    x=int(input())
    if x == 0:
            break
    else:
            print(f'Case {i}: {x}')
    i +=1

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

Solution (Python):
for i in range(1,10001):
    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
    print(f"Case {i}: {x}")
    i += 1

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

i = 0
a = []

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

    i += 1

for j in range(i):
    print("Case %s: %s" % (j+1, a[j]))

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

Solution (Python):

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

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

Solution (Python):
i = 1

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

Solution (Python):
a = []

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

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

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

Solution (Python):
a = []
while True:
    try:
        i = int(input())
        if i == 0:
            break
        else:
            a.append(i)
    except EOFError:
        break

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

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

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

Solution (Python):
i=0
while True:
    i=i+1
    x = int(input())
    if x == 0:
        break
    else:
        print("Case "+str(i)+": "+str(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):
InpList = []

while True:
  val = int(input())
  if val == 0:
    break
  else:
    InpList.append(val)

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

Solution (Python):
ren=0
while True:
    x=int(input())
    if x==0:
        break
    ren+=1
    print('Case {}: {}'.format(ren,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):
number_ram = 1
while True:
    number = int(input())
    if number == 0:
        break
    else:
        print("Case %d: %d" % (number_ram,number))
        number_ram += 1

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

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

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

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

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

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

Solution (Python):


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

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

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

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