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

Submission status: Accepted

Solution code:
counter = 1

while True:
    x=input()
    x=int(x)

    if x==0:
        break

    print("Case {}: {}".format(counter, x))

    counter = counter + 1

Submission status: Accepted

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

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:
cnt = 1
while(1):
    tmp = input()
    if tmp == '0':
        break
    else:
        print("Case " + str(cnt) + ": " + tmp)
        cnt+=1

Submission status: Accepted

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

Submission status: Accepted

Solution code:
ilist = []
while True :
    t = input()
    if t == "0":
        break
    ilist.append(t)
    
for i in range(len(ilist)):
    print("Case %d: %s" %(i+1,ilist[i]))

Submission status: Accepted

Solution code:
def test():

	i = -1
	count = 0
	while True:
		count += 1
		i = int(input())
		if i == 0:
			break

		print(f"Case {count}: {i}")

if __name__ == "__main__":
	test()

Submission status: Accepted

Solution code:
# coding: utf-8

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = int(1)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = []
i = 1
while True:
    t = int(input())
    if t == 0:
        break
    x.append(int(t))
for n in x:
    print('Case %d: %d' % (i, n))
    i += 1

Submission status: Accepted

Solution code:
i = 1

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding:utf-8

A = []
while True:
    n = int(input())
    if n != 0:
        A.append(n)
    else:
        break

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
num = int(sys.stdin.readline())
counter = 0
while num != 0:
  counter += 1
  print('Case ', counter, ': ', num, sep='')
  num = int(sys.stdin.readline())

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
list1 = []
while True:
    a = int(input())
    if(a!=0):
        list1.append(a)
    else:
            break;

for i in range(len(list1)):
    print("Case %d: %d"%(i+1,list1[i]))

Submission status: Accepted

Solution code:
case_number = 1

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

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:
tc = 0

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

Submission status: Accepted

Solution code:
tc = 0

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

Submission status: Accepted

Solution code:
tc = 0

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

Submission status: Accepted

Solution code:
tc = 0

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

Submission status: Accepted

Solution code:
tc = 0

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

Submission status: Accepted

Solution code:
i = 1
while True:
    x =input()
    if x == '0':
        break
    if x !=0:
        print('Case {}: {}'.format(i,x))
        i =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:
case_num=1

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

Submission status: Accepted

Solution code:
cnt = 1

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
cnt = 1

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

Submission status: Accepted

Solution code:
cnt=0

while(True):
    cnt+=1
    s = input()
    if s=='0':
        break
    print("Case {}: {}".format(cnt,s))

Submission status: Accepted

Solution code:
i = 0

while True:
    n = input()
    if n == '0':
        break

    i += 1
    print("Case {}: {}".format(i, n))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
flg=0
i=1
in_data=input()
in_data=int(in_data)
while flg==0:
    if not in_data==0:
        print("Case"+" "+str(i)+": "+str(in_data))
        i=i+1
        in_data=input()
        in_data=int(in_data)
    else:
        flg=1

Submission status: Accepted

Solution code:
c = 1

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    test_case_num = 1

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

Submission status: Accepted

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

Submission status: Accepted

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

    if x == 0:
        break
    
    print(f'Case {i}: {x}')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
for i in range(10000):
    x = int(input())
    if x != 0:
        print('Case {0}: {1}'.format(i+1,x))
    else:
        break

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:
c = 1
while True:
    x = int (input())
    if x == 0:
        break
    print("Case ", c, ": ", x, sep="")
    c += 1    # c = c + 1 の略記法

Submission status: Accepted

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

Submission status: Accepted

Solution code:
count = 0
v = int(input())
while (v!=0):
    count += 1
    print("Case",count,end="")
    print(":", v)
    v = int(input())

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = 1
l = []
while True:
  n = int(input())
  if n == 0:
    break
  else:
    l.append( f'Case {i}: {n}' ) 
    i += 1

for j in l:
  print(j)

Submission status: Accepted

Solution code:
i=0
while True:
    data=int(input())

    if not data:
        break

    i+=1
    print(f"Case {i}: {data}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=0

while 1:
    i=int(input())
    a=int(a)
    a+=1
    if i==0:
        break
    a=str(a)
    i=str(i)
    print("Case %s: %s" % (a,i))

Submission status: Accepted

Solution code:
for i in range(10000):
    a = int(input())
    if a is 0:
        break
    print("Case %d: %d" %(i+1,a ))

Submission status: Accepted

Solution code:
i = 1

while True:
    x = int(input())
    if not x:
        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(f"Case {i}: {x}")
    i += 1

Submission status: Accepted

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

Submission status: Accepted

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

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:
A = []
while True:
	a = int(input())
	if a == 0:
		break
	A.append(a)
	
for i in range(len(A)):
	print("Case " + str(i+1) + ": " + str(A[i]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

t = 1

for line in sys.stdin:
  x = int(line)

  if x == 0:
    break

  print("Case {}: {}".format(t, x))

  t += 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:
cnt = 1

while True:
    x = int(input())

    if x == 0:
        break

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

    cnt += 1

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

i=1
for s in sys.stdin:
  n = int(s)
  if n == 0:
    break
  print("Case ",i,": ",n,sep="")
  i += 1

Submission status: Accepted

Solution code:
n=0

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i=0
while True:
    i+=1
    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

    else:
        print("Case %d: %d" % (i, x))
        i = i + 1

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:
count_val1 = 0
list1 = []
for count_val in range(1, 10001):
    input_val = input()
    list1.append(input_val)
    if int(input_val) == 0:
        print("Case 1: {}".format(list1[0]))
        for count_val1 in range(int(len(list1)) - 2):
            print("Case {}: {}".format(int(count_val1) + 2, list1[int(count_val1) + 1]))
            count_val1 += count_val1
        exit()
for count_val1 in range(len(list1)):
    print("Case {}: {}".format(int(count_val1) + 1, list1[count_val1]))
    count_val1 += count_val1

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
case_number = 1

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=int(input())
count=1
while a!=0:
    print('Case'+' '+str(count)+':'+' '+str(a))
    count+=1
    a=int(input())

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

x = []
for i in range(10000):
    x.append(int(input()))
    if x[i] == 0:
        break
    else:
        print("Case ",i+1,": ",x[i],sep = "")

Submission status: Accepted

Solution code:
import sys
a = []
for l in sys.stdin:
    a.append(int(l))

for i in range(len(a)):
    if a[i] == 0:
        break
    else:
        print("Case %i: %i" % (i+1,a[i]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    count = 1
    while True:
        # 引数を受け取る
        args = int(input())
        if args == 0:
            break
        else:
            print('Case {}: {}'.format(count, args))
        count += 1


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
count = 1

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

while input_data != 0:
    print("Case "+str(i)+": " + str(input_data))
    i = i+1
    input_data = int(input())

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
	c = 1
	i = int(input())
	while i != 0:
		print("Case "+str(c)+": "+str(i))
		c = c+1
		i = int(input())

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:
###
### atcorder test program
###

### math class
class math:
    ### GCD
    def gcd(self, a, b):
        if b == 0:
            return a
        return self.gcd(b, a%b)


### input num
#i = input()
#A, B, T = [int(x) for x in i.split()]
#N = int(input())
#A = [int(x) for x in input().split()]

temp = 1
inputlist = []
while True:
    temp = input()
    if temp == "0":
        break
    inputlist.append(temp)

### input debug
#print("debug:{}".format(gcd(max(A),min(A))))

### output
#print(inputlist)
for i, num in enumerate(inputlist):
    print("Case {}: ".format(i+1)+num)

Submission status: Accepted

Solution code:
num_tc = 0
s= ''

while s !='0':
    s = input()
    if s != '0':
        num_tc += 1
        print('Case {}: {}'.format(num_tc,s))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
list = []
i = 0
while i < 10000:
    a = int(input())
    if a != 0:
        list.append(a)
    else:
        break
    i += 1
for (j,k) in enumerate(list):
    print("Case " + str(j+1) + ": " + str(k))

Submission status: Accepted

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

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:
i = 0
while True:
    data = input()
    i += 1
    if data == "0":
        break
    
    # ↓処理
    print("Case " + str(i) + ": " + data)

Submission status: Accepted

Solution code:
from itertools import count
for i in count(1):
    s = input()
    if s == '0': break
    print(f'Case {i}: {s}')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = 0
while True:

    i = i + 1
    x = int(input())
    if x == 0:
        break
    else:
        i = str(i)
        x = str(x)
        ans = "Case " + i + ": " + x
        print(ans)
        i = int(i)
        continue

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
count = 1

while True:
    i = int(input())
    if i != 0 and count <= 10000:
        print('Case {}: {}'.format(count, i))
    else:
        break
    count += 1

Submission status: Accepted

Solution code:
cnt = 0
flag = True
while flag == True:
    cnt += 1
    input_num = input()
    if input_num == '0':
        flag == False
        break
    else :
        print('Case {}: {}'.format(cnt, input_num))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = 1

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

Submission status: Accepted

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

while (x != 0):
    print("Case ", i, ": ", x, sep="")
    i += 1
    x = int(input())

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
count = 0

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

Submission status: Accepted

Solution code:
datas = []
while True:
    n = int(input())

    if n == 0:
        break
    else:
        datas.append(n)

for i, data in enumerate(datas):
    print("Case {0}: {1}".format(i+1, data))

Submission status: Accepted

Solution code:
#ITP1_3_B

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

Submission status: Accepted

Solution code:
i = 0
x = 1
while x != 0 and i != 10000:
    i += 1
    x = int(input())
    print("Case ", i, ": ", x, sep = "")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
case_num = 1

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