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



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

Submission status: Accepted

Solution code:
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]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = 1
s = input()
while s != '0':
    print('Case ' + str(i) + ': ' + s)
    i+=1
    s = input()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#ITP1_3_B
c = 0

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

Submission status: Accepted

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

if __name__ == "__main__":
    resolve()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = 1

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
count = 0

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = 1
while i <= 10000:
    s_i = int(input())
    if s_i > 0:
        print(f'Case {i}: {s_i}')
    else:
        break
    i += 1

Submission status: Accepted

Solution code:




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

Submission status: Accepted

Solution code:
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])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!


i =int()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
case_num = 1

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

Submission status: Accepted

Solution code:
i=1

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = 1

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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;

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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}')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
n=0
while True:
    n+=1
    x=int(input())
    
    if x==0:
        break
    
    print('Case',n,end='')
    print(':',x)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
c = 1

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = 1

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = 1

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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

Submission status: Accepted

Solution code:
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

Submission status: Accepted

Solution code:
number = 1

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

Submission status: Accepted

Solution code:
# coding: utf-8

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


# <?php

# $i = 0;
# while($num = trim(fgets(STDIN))) {
#     if($num == 0) {
#         break;
#     } else {
#         echo "Case " . ($i + 1). ": " . $num . PHP_EOL;
#         $i++;
#     }
# }

# ?>

Submission status: Accepted

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

Submission status: Accepted

Solution code:
case_num = 1
inp = 1#dummy

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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]}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = 1
while True:
    input_item = int(input())
    if input_item == 0 :
        exit()
    print (f'Case {i}: {input_item}')
    i += 1

Submission status: Accepted

Solution code:
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]))

Submission status: Accepted

Solution code:
case_num = 1

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

Submission status: Accepted

Solution code:
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)]

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
index = 1

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = []

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

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

Submission status: Accepted

Solution code:
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]}" )

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

for i in range(1, sys.maxsize):
    x = int(input())
    if x == 0:
        break
    print(f"Case {i}: {x}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
case_number = 1

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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]))

Submission status: Accepted

Solution code:
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}')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = 0

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

Submission status: Accepted

Solution code:
# arr = list(map(int,input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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]))

Submission status: Accepted

Solution code:
caseCount = 1

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = 0
while 1:
	x = raw_input()
	i += 1
	if x == '0':
		break
	print 'Case %s: %s' % (i,x)

Submission status: Accepted

Solution code:
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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

i=1

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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='')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
case = 0

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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