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

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

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

Solution (Python):


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

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

Solution (Python):


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

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

Solution (Python):
n = int(input())

l = []
while(n != 0):
  l.append(n)
  n = int(input())
  
for i in range(len(l)):
   print("Case {0}: {1}".format(i+1, l[i]))

Solution (Python):
try:
  for i in range(10000):
    a = int(input())
    if not a == 0:
      print(f"Case {i+1}: {a}")
    else:
      break
except EOFError:
    pass

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

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

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

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

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, 10010):
  x = int(input())
  if x: print('Case {}: {}'.format(i, x))
  else: break

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
    print(f"Case {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):
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):


S = '0'
B = 10000

for i in range(B):
    x = input()
    if x == S:
        break
    print('Case ' + str(i + 1) + ': ' + 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:
    a = int(input())
    if a == 0:
        break
    print(f"Case {i}: {a}")
    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):
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(f'Case {i}: {x}')
        i +=1

Solution (Python):
EOL = 0
MAX = 10000

for i in range(MAX):
  x = int(input())
  if x == EOL:
    break

  print('Case {}: {}'.format(i + 1, x))

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

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

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

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

Solution (Python):
i = 1

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

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

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

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

Solution (Python):
import sys
X = sys.stdin.readlines()
for i, x in enumerate(X[:-1]):
    print('Case {}: {}'.format(i+1, x.rstrip()))

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

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

Solution (Python):

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

"""
EOL = 0
MAX = 10000

for i in range(MAX):
  x = int(input())
  if x == EOL:
    break

  print('Case {}: {}'.format(i + 1, x))
"""

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

Solution (Python):
case_num = 1

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

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

Solution (Python):
count=1
while True:
    x=int(input())
    if x==0:
        break
    print("Case {}: {}".format(count,x))
    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):
data = []
while True:
    i = int(input())
    if i == 0:
        break
    else:
        data.append(i)
for count, i in enumerate(data):
    print("Case %d: %s" % (count+1, i))

Solution (Python):
data = []
while True:
    i = int(input())
    if i == 0:
        break
    else:
        data.append(i)
for count, i in enumerate(data):
    print("Case %d: %s" % (count+1, i))

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

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

Solution (Python):
import sys

lines = [int(line) for line in sys.stdin.readlines()]

for i, value in enumerate(lines, 1):
    if value != 0:
        print('Case {0}: {1}'.format(i, value))

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):
EOL = 0
MAX = 10000

for i in range(MAX):
  x = int(input())
  if x == EOL:
    break

  print('Case {}: {}'.format(i + 1, x))

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

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

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

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

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

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

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

Solution (Python):
import sys


def I(): return int(sys.stdin.readline().rstrip())


def LI(): return list(map(int, sys.stdin.readline().rstrip().split()))


def S(): return sys.stdin.readline().rstrip()


def LS(): return list(sys.stdin.readline().rstrip().split())


i = 1
while 1:
    x = I()
    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+=1

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

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

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

Solution (Python):
w = 0
while True:
  s = input()
  if s != str(0):
        w = w+1
        print("Case ",w,": ",s,sep="")
  else:
    break

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

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

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

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

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

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:
  n = int(input())
  if n == 0:
    break
  l.append(n)
for i in range(len(l)):
  print('Case {0}: {1}'.format(i+1,l[i]))

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

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

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

Solution (Python):
nums = []
while True:
  nums.append(int(input()))
  if nums[-1] == 0:
    break
  else:
    print(f'Case {len(nums)}: {nums[-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):
import sys

count = 1

for i in sys.stdin:
    i = int(i)
    if i == 0:
        break
    print(f'Case {count}: {i}')
    count += 1

Solution (Python):
import sys

count = 1

for i in sys.stdin:
        i = int(i)
        if i == 0:
            break
        print(f'Case {count}: {i}')
        count += 1

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

    if x==0:
        break

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

Solution (Python):
import sys
a = []

for l in sys.stdin:
    if int(l) == 0:
        break
    else:
        a.append(int(l))

cnt = 1

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

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

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

Solution (Python):

list_1 = []
for input_value in iter(input, "0"):
  list_1.append(input_value)


for i, num in enumerate(list_1):
    print(f"Case {i + 1}: {num}")

Solution (Python):
ans = []
i = 0
while True:
    x = input()
    if x == '0':
        break
    else:
        ans.append("Case %d: %s\n" % (i + 1, x))
        i += 1
open(1, 'w').writelines(ans)

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

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

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

Solution (Python):
import sys

for i, e in enumerate(iter(input, '0'), 1):
    print("Case {}: {}".format(i, int(e)))

Solution (Python):
i=1
x=0

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

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

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

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

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

Solution (Python):
cases = []
for i in range(1, 10001):
    tmp = input()
    if tmp != "0":
        cases.append(tmp)
    else:
        break

for i, v in enumerate(cases, 1):
    print(f"Case {i}: {v}")

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

Solution (Python):
import sys

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

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

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

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

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

input = sys.stdin.readline

def main():
    count = 1
    while True:
        a = int(input())
        if a == 0:
            sys.exit()
        else:
            print("Case " + str(count)+ ": " + str(a))
            count = count + 1 
    
if __name__ =="__main__":
    main()

Solution (Python):
case_num = 1

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

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

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

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

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

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

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

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

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

Solution (Python):
EOL = 0
MAX = 10000

for i in range(MAX):
  x = int(input())
  if x == EOL:
    break

  print('Case {}: {}'.format(i + 1, x))

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

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

ls=[]

while True:
    s=input()
    
    if int(s) ==0:
        break
    
    ls.append(int(s))
    
    
for i,x in enumerate(ls):
    print(f"Case {i+1}: {x}")

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

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

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

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

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

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

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

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

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

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

Solution (Python):
_list=[]
while True:
	i = int(input())
	if i != 0:
		_list.append(i)
	else:
		break

for d in range(len(_list)):
	print(f"Case {d+1}: {_list[d]}")

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

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

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

Solution (Python):
test = []
x = int(input())

while x > 0:
    test.append(x)
    x = int(input())

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
for i in range(1, 10001):
    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 {}: {}".format(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):
list=[]
while True:
   x=int(input())
   if x==0:
      break
   else:
      list.append(x)
for i in range(len(list)):
   print("Case",str(i+1)+":",str(list[i]))

Solution (Python):

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

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

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

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):
i = 1
s = input()
while s != '0':
    print('Case ' + str(i) + ': ' + s)
    i+=1
    s = input()

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

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

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

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

Solution (Python):

c = 0

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

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

if __name__ == "__main__":
    resolve()

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

Solution (Python):


for x in range(1,10001):
    n = int(input())
    if n == 0:
        break
    print('Case {}: {}'.format(x, n))

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

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

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

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

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

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

Solution (Python):
case_num = 1

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

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

Solution (Python):
a = list()
a.insert(0,int(input()))
cnta = 0
cntb = 0
while a[cnta] != 0:
	cnta += 1
	a.insert(cnta,int(input()))
for i in a:
	cntb += 1
	if i != 0:
		print("Case "+ str(cntb) + ": " + str(i))
	else:
		break

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