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

Solution (Python):




for i in range(1000000):
    val = input()
    array = list(map(int,val.split()))
    num = array[0]
    if num == 0:
        break
    print('Case {}: {}'.format(i+1, num))

Solution (Python):
data = []

num = int(input())
set = 0

while num != 0:
    data.append(num)
    set +=1
    num = int(input())


for i in range(set):
    print("Case "+str(i+1)+": ", end="")
    print(data[i])

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

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

Solution (Python):




i =int()

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

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

Solution (Python):
case_num = 1

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

Solution (Python):
n=1
i=[]
try:
    while n<=10000:
        x=int(input())
        if x==0:
            break
        else:
            i.append("Case "+str(n)+": "+str(x))
            n+=1
except EOFError:
    pass
i_n="\n".join(i)
print(i_n)

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

Solution (Python):
x = 1
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 += 1

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

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

Solution (Python):
i=1
while True:
    try:
        a=list(map(int,input().split()))
        if a[0]==0:
            pass
        else:
            print('Case',i,end=':')
            print('',a[0])
            i+=1
        
    except:
        break;

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

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

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

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

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

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

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

Solution (Python):
x = []
for i in range(10000):
    try:
        x.append(input())
    except:
        break
    
for i in range(len(x)):
    if x[i] != '0':
        print('Case ',i+1,': ', x[i], sep='')
    else:
        break

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

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

Solution (Python):
i = 1

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

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

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

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

Solution (Python):
for i,e in enumerate(list(open(0))[:-1],1):print(f'Case {i}:',e,end='')

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

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

Solution (Python):


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

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

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


if __name__ == "__main__":
    test_case()

Solution (Python):
c = 1

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

Solution (Python):
a=int(1)
L=[]

while True:
    x = int(input())
    if x!=0:
        L.append(x)
    if x==0:
        break


for i in L:
    print('Case %d: %d' %(a,i))
    a+=1

Solution (Python):



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

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

Solution (Python):
i=1
while i<=10000:
    a=int(input())
    if a==0:
        break
    else:
        print("Case ", i, ": ", a, sep="")
    i+=1

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

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

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

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

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

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

Solution (Python):
i = 1

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

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

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

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

Solution (Python):
number = 1

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

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

Solution (Python):


i = 0
while True:
    num = int(input().rstrip())
    if num == 0:
        break
    else:
        print("Case " + str(i + 1) + ": " + str(num))
        i += 1

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


if __name__ == "__main__":
    main()

Solution (Python):
case_num = 1
inp = 1

while inp !=0:
  inp = int(input())
  if inp == 0:
    break
  print("Case %d: %d" %(case_num,inp))
  case_num += 1

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

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

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

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

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

main()

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

Solution (Python):
import sys
a = []
for l in sys.stdin:
    a.append(int(l))
    
for i in range(len(a)-1):
    print('Case '+str(i+1)+':' + ' '+str(a[i]))

Solution (Python):
case_num = 1

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

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

[print('Case {}: {}'.format(i + 1, n)) for i, n in enumerate(numbers)]

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

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

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

Solution (Python):
Inlist = []

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

for i,val in enumerate(Inlist):
    print('Case {}: {}'.format(i+1, val))

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

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

Solution (Python):
x = int(input())
t = 1
while x:
    print(f"Case {t}: {x}")
    x = int(input())
    t += 1

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

Solution (Python):
index = 1

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

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

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):
a = []

for i in iter(input, '0'):
    a.append(int(i))

for i, j in enumerate(a):
    print('Case ' + str(i + 1) + ': ' + str(j))

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

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

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

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

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

Solution (Python):
import sys

for i in range(1, sys.maxsize):
    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("Case ", i, ": ", x, sep = '')
  i += 1

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

Solution (Python):
case_number = 1

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

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

Solution (Python):

num_list=[]
while True:
    x=int(input())
    if x==0:
        break
    num_list +=[x]
    
for i in range(len(num_list)):
    print("Case " + str(i+1) + ": " + str(num_list[i]))

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

while True:
    a = input()
    if a == '0':
        break
    else:
        x.append(a)

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

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

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

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

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

Solution (Python):
i = 0

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

Solution (Python):


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

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

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

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):
caseCount = 1

while True:
    case = int(input())
    if case == 0:
       break
    else:
        print('Case %d: %d' % (caseCount, case))
        caseCount += 1

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

Solution (Python):
l = []

for i in range(0, 10000):
  x = int(input())
  if x == 0:
    break
  else:
    l.append(x)

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

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

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

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

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

Solution (Python):
import sys
sys.setrecursionlimit(5000)

x = []

while True:
    x.append(int(input()))
    if x[-1] == 0:
        break
        
for i in range(len(x)):
    if i < len(x)-1:
        print("Case {}: {}".format(i+1, x[i]))

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

while True:
    temp_num = int(input())
    if temp_num == 0:
        break
    else:
        case_number+=1
        print("Case "+str(case_number)+": "+str(temp_num))

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

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

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

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

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

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

Solution (Python):
cnt = 1
while (1):
    i = str(input())
    if i == '0':
        exit()
    print('Case '+str(cnt)+': '+i)
    cnt += 1

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

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

Solution (Python):
test_list = list()
i = 0
while i < 10000:
    a = input("")
    if(int(a) != 0):
        test_list.append(int(a))
    else:
        break
    i += 1

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

Solution (Python):
input_line = input()
index = 1
while input_line != "0":
    print(f"Case {str(index)}: {input_line}")
    input_line = input()
    index += 1

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

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

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

Solution (Python):
case = 0

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

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:
        print("Case "+str(i)+": "+str(x))
        i += 1
    else:
        break

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

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

Solution (Python):
i = 1

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

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

    if x == 0:
        break
    print("Case ", end="")
    print(i, end="")
    print(": ", end="")
    print(x)
    i = i+1

Solution (Python):

flag = 0
cnt = 1
while flag == 0:
    x = int(input())
    if x != 0:
      print("Case "+str(cnt)+": "+str(x))
      cnt += 1
    else:
        flag = 1

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

if __name__ == '__main__':
  main()

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

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

Solution (Python):
x = 1

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

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

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

number = len(li)

for i in range(number):
    case_num = str(i+1)
    print('Case', case_num+':', li[i])

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

Solution (Python):
import sys
i=0;
while i<10000:
    x=input()
    if (x==0):
        break
    i=i+1
    print('Case '+str(i)+': '+str(x))

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

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

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

Solution (Python):
def test():
    inp = 1
    count = 1
    while inp != 0:
        inp = input()
        if inp == '0':
            break
        print(f'Case {count}: {inp}')
        count += 1

if __name__ == '__main__':
    test()

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

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

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

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

    if a == 0:
        break

    print('Case {}: {}'.format(i, a))

    i += 1

Solution (Python):
import sys
input_l = []
i = 1

for input in map(int, sys.stdin):
    if input == 0:
        break
    else:
        print("Case " + str(i) + ": " + str(input))
        i += 1

Solution (Python):
x = list(iter(input, '0'))

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

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

Solution (Python):
num = 1

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

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

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

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

Solution (Python):
case_num = 1


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

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

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

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

Solution (Python):
input_number = -1
data_set = []
while input_number != 0:
    input_number = int(input())
    if input_number == 0:
        break
    data_set.append(input_number)

for index in range(len(data_set)):
    print('Case '+str(index+1)+': '+str(data_set[index]))

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

for i in num:
    print("Case",n,end="")
    print(":",i)
    n += 1

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

Solution (Python):
cnt=0
for e in iter(input, '0'):
    cnt+=1
    print(f'Case {cnt}: {e}')

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

Solution (Python):
i = 1

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

Solution (Python):
data = []

for i in range(10000):
    i = int(input())
    if i == 0:
        break
    else:
        data.append(i)

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

Solution (Python):
i = 1
x = 1
while x!=0:
    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('Case {0}: {1}'.format(i, x))
	i = i + 1

Solution (Python):
i = 1

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

Solution (Python):
case=1

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

Solution (Python):
import sys
i=1
for e in sys.stdin:
        if'0\n'==e:break
        print(f'Case {i}: {e[:-1]}');i+=1

Solution (Python):
for i in range(10001):
  n = int(input())
  if n != 0:
    print("Case " + str(i+1) +": " + str(n))
  else:
    break;