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:
a = []
while True:
    x = int(input())
    if x == 0:
        break
    a.append(x)
for i, v in enumerate(a):
    print('Case {0}: {1}'.format(i+1, v))

Submission status: Accepted

Solution code:
i = 1

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

Submission status: Accepted

Solution code:
a = []

while True:
    b = int(input())
    if b == 0:
      break
    else:
      a.append(b)
#print(a)
for i in range(len(a)):
    print("Case ",i+1,": ",a[i],sep='')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
InpList = []

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#テータセットの出力

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

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:
x=-1
a=1
while x!="0":
    x=input()
    if x=="0":
        break
    print("Case "+str(a)+": "+x)
    a+=1

Submission status: Accepted

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

Submission status: Accepted

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

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:

#Case i: x   
S = '0'
B = 10000

for i in range(B):
    x = input()
    if x == S:
        break
    print('Case ' + str(i + 1) + ': ' + x)

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
i = 1

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
EOL = 0
MAX = 10000

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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:
w = 0
while True:
  s = input()
  if s != str(0):
        w = w+1
        print("Case ",w,": ",s,sep="")
  else:
    break

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = 1
while True:
    x = int(input())
    if x == 0:
        break
    print('Case {0}: {1}'.format(n,x))
    n += 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:
nums = []
while True:
  nums.append(int(input()))
  if nums[-1] == 0:
    break
  else:
    print(f'Case {len(nums)}: {nums[-1]}')

Submission status: Accepted

Solution code:
import sys

count = 1

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

Submission status: Accepted

Solution code:
import sys

count = 1

for i in sys.stdin:
        i = int(i)
        if i == 0:
            break
        print(f'Case {count}: {i}')
        count += 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:
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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 入力
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}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

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

Submission status: Accepted

Solution code:
i=1
x=0

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
case_num = 1

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
n = 1
while True:
    num = int(input())
    if num == 0:
        break
    print("Case "+str(n)+": "+str(num))
    n = n + 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:
idx=0
for e in iter(input, 0):
    x=int(e)
    if x==0:
        break
    idx+=1
    print("Case {0}: {1}".format(idx, x))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
case=1
while True:
    x=int(input())
    if x==0:
            break
    else:
        print(f'Case {case}: {x}')
        case=case+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:
for i in range(1,10001):
    x=int(input())
    if x==0:
        break
    else:
        print(f'Case {i}: {x}')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
for i in range(1,10001):
    x = int(input())
    if x == 0:
        exit()
    print('Case',str(i)+':',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:
x = int(input())
num = 1
while x :
    print('Case {0}: {1}' .format(num, x))
    x = int(input())
    num += 1

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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