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

Solution code:

while True:
     
    k=int(raw_input())

    if k==0:
        break
    print(k)

Submission status: Wrong Answer

Solution code:

for i in range(100000):
     
    k=int(raw_input())

    if k==0:
        break
    print("Case "+str(i)+": "+str(k))

Submission status: Wrong Answer

Solution code:
i=-1

while True:
    i=i+1 
    k=int(raw_input())

    if k==0:
        break
    print("Case "+str(i)+": "+str(k))

Submission status: Wrong Answer

Solution code:
cnt=1
while 1:
    x=int(raw_input())
    if x==0:
        break
    print "Case %d: %d" % (cnt,x)

Submission status: Wrong Answer

Solution code:
import sys

a = []
c = 0
for line in sys.stdin:
    a.append(int(line))
    c=c+1
    print 'Case %s: %s' %(c,line),

Submission status: Wrong Answer

Solution code:
import sys

a = []
c = 0
for line in sys.stdin:
    a.append(int(line))
    c=c+1
    print 'Case %s: %s' %(c,line)

Submission status: Wrong Answer

Solution code:
import sys

a = []
c = 0
for line in sys.stdin:
    c=c+1
    print 'Case %s:' %(c),int(line)

Submission status: Wrong Answer

Solution code:
import sys

c = 0
for line in sys.stdin:
    c=c+1
    print 'Case %s: %s' %(c,int(line))

Submission status: Wrong Answer

Solution code:
import sys

c = 0
for line in sys.stdin:
    c+=1
    print 'Case %s: %s' %(c,int(line))

Submission status: Wrong Answer

Solution code:
import sys

c=0
for line in iter(sys.stdin.readline, ""):
	c+=1
	print 'Case %s:' %c,
	print line,

Submission status: Wrong Answer

Solution code:
import sys
 
c = 0
for line in sys.stdin:
	if line == '0':
		break
	c+=1
	print 'Case %s: %s' %(c,line),

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

Solution code:
n = []
i = 0

while True:
  n.append(int(input()))
  if n[i] == 0:
    break
  i += 1

for j in range(i):
  print("Case " + str(i) + " : " + str(n[j]))

Submission status: Wrong Answer

Solution code:
n = input()
i = 1
while n != 0:
  print "Case %d: %d" % (i, n)
  n = input()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import fileinput
for i, line in enumerate(fileinput.input()):
    x = line.strip()
    print "Case %d: %s" % (i + 1, x)

Submission status: Wrong Answer

Solution code:
import fileinput
for i, line in enumerate(fileinput.input()):
    x = line.strip()
    if x:
        print "Case %d: %s" % (i + 1, x)
    else:
        break

Submission status: Wrong Answer

Solution code:
import sys

num = map(str,raw_input().split())

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

Submission status: Wrong Answer

Solution code:
l = list(map(int,input().split()))
for i in range(1,len(l)+1):
	print("Case"+str(i)+":"+str(l[i-1]))

Submission status: Wrong Answer

Solution code:
l = list(map(int,input().split()))
for i in range(0,len(l)):
	if l[i]!=0:
		print("Case"+str(i+1)+":"+str(l[i]))
	else:
		break

Submission status: Wrong Answer

Solution code:
l = list(map(int,input().split()))
for i in range(0,len(l)):
	if l[i]!=0:
		print("Case"+str(i+1)+": "+str(l[i]))
	else:
		break

Submission status: Wrong Answer

Solution code:
l = list(map(int,input().split()))
for i in range(0,len(l)):
	if l[i]!=0:
		print("Case "+str(i+1)+": "+str(l[i]))
	else:
		break

Submission status: Wrong Answer

Solution code:
a=map(int,raw_input().split())
i=0
while i<len(a):
    if a[i]!=0:print("case "+str(i+1)+": "+str(a[i]))
    else: a.remove(0)
    i+=1

Submission status: Wrong Answer

Solution code:
a=map(int,raw_input().split())
i=0
while i<len(a):
    if a[i]!=0:print("Case "+str(i+1)+": "+str(a[i]))
    else: a.remove(0)
    i+=1

Submission status: Wrong Answer

Solution code:
a=map(int,raw_input().split())
i=0
while i<len(a):
    if a[i]!=0:
        print("Case "+str(i+1)+": "+str(a[i]))
        i+=1
    else: a.remove(0)

Submission status: Wrong Answer

Solution code:
a=map(int,raw_input().split())
i=0
while i<len(a):
    if a[i]!=0:
        print("Case "+str(i+1)+": "+str(a[i]))
        i+=1
    else: break

Submission status: Wrong Answer

Solution code:
while True:
 a=input()
 if a==0:
  break
 else:
  print(a)

Submission status: Wrong Answer

Solution code:
class PrintTestCases:
    def __init__(self):
        self.i = 0

    def output(self, x):
        print "Case %d: %d" % (self.i, x)
        self.i += 1

if __name__ == "__main__":
    ptc = PrintTestCases();
    while True:
        x = int(raw_input())
        if x == 0:
            break
        ptc.output(x)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=input()
while a>0 or a<0:
	print a
	a=input()

Submission status: Wrong Answer

Solution code:
input_array = []

while True:
    input_num = int(raw_input())
    if input_num == 0:
        break
    input_array.append(input_num)

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

Submission status: Wrong Answer

Solution code:
import sys
input_strings = sys.stdin.read().splitlines()

count = len(input_strings)

for i in range(count):
    print('Case ' + str(i + 1) + ': ' + input_strings[i])

Submission status: Wrong Answer

Solution code:
import sys
input_strings = [line.strip() for line in sys.stdin.readlines()]

count = len(input_strings)

for i in range(count):
    print('Case ' + str(i + 1) + ': ' + input_strings[i])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# 06-Repetitive_Processing-Print_Test_Cases.py

# ???????????±???????????????
# ????????????????????£????????§?????????????????????????????°??????????????°?????\??????????????????????????????????????£????????????????????£???????????????????????????????????????
# ???????????\????????????????????????????????°???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????´???????????§??????

# ???????????´??° x ???????????????????????????????????????????????????????????°?????????????????????????????????
# ?????????????????????????????\?????????????????????????????????????????????????????????????????????????????¨?????¨?????????????????????

# Input
# ??\???????????°????????????????????????????§????????????????????????????????????????????????????????????´??° x ??????????????????????§?????????????????????????
# x ??? 0 ?????¨?????\?????????????????????????????????????????????????????????????????????????????£????????????????????????
# Output
# ??????????????????????????¨????????\????????¢?????§ x ???????????????????????????

# Case i: x
# ????????§???i ?????????????§????????????????????????????????????????????????????Case??¨?????? i?????????????????????????????\??????????????????
# ?????????:?????????????????¨??´??° x ?????????????????????????????\????????????????????????????????\????????????????????????????????????

# 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

data=[]
i=0

print("Input.")
while 1:
	data.append(int(input()))
	if data[i]==0:
		break;
	i=i+1

for i in range(i):
	print("Case %d: %d"%(i,data[i]))

Submission status: Wrong Answer

Solution code:
# 06-Repetitive_Processing-Print_Test_Cases.py

# ???????????±???????????????
# ????????????????????£????????§?????????????????????????????°??????????????°?????\??????????????????????????????????????£????????????????????£???????????????????????????????????????
# ???????????\????????????????????????????????°???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????´???????????§??????

# ???????????´??° x ???????????????????????????????????????????????????????????°?????????????????????????????????
# ?????????????????????????????\?????????????????????????????????????????????????????????????????????????????¨?????¨?????????????????????

# Input
# ??\???????????°????????????????????????????§????????????????????????????????????????????????????????????´??° x ??????????????????????§?????????????????????????
# x ??? 0 ?????¨?????\?????????????????????????????????????????????????????????????????????????????£????????????????????????
# Output
# ??????????????????????????¨????????\????????¢?????§ x ???????????????????????????

# Case i: x
# ????????§???i ?????????????§????????????????????????????????????????????????????Case??¨?????? i?????????????????????????????\??????????????????
# ?????????:?????????????????¨??´??° x ?????????????????????????????\????????????????????????????????\????????????????????????????????????

# 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

data=[]
i=0

# print("Input.")
while 1:
	data.append(int(input()))
	if data[i]==0:
		break;
	i=i+1

for i in range(i):
	print("Case %d: %d"%(i,data[i]))

Submission status: Wrong Answer

Solution code:
# 06-Repetitive_Processing-Print_Test_Cases.py

# ???????????±???????????????
# ????????????????????£????????§?????????????????????????????°??????????????°?????\??????????????????????????????????????£????????????????????£???????????????????????????????????????
# ???????????\????????????????????????????????°???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????´???????????§??????

# ???????????´??° x ???????????????????????????????????????????????????????????°?????????????????????????????????
# ?????????????????????????????\?????????????????????????????????????????????????????????????????????????????¨?????¨?????????????????????

# Input
# ??\???????????°????????????????????????????§????????????????????????????????????????????????????????????´??° x ??????????????????????§?????????????????????????
# x ??? 0 ?????¨?????\?????????????????????????????????????????????????????????????????????????????£????????????????????????
# Output
# ??????????????????????????¨????????\????????¢?????§ x ???????????????????????????

# Case i: x
# ????????§???i ?????????????§????????????????????????????????????????????????????Case??¨?????? i?????????????????????????????\??????????????????
# ?????????:?????????????????¨??´??° x ?????????????????????????????\????????????????????????????????\????????????????????????????????????

# 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

data=[]
i=0

# print("Input.")
while 1:
	data.append(int(input()))
	if data[i]==0:
		break;
	i=i+1

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

Submission status: Wrong Answer

Solution code:
x = int(input(""))
while x != 0:
    print("{0}".format(x))
    x = int(input(""))

Submission status: Wrong Answer

Solution code:
import sys

check = True
i = 0
while check == True:

	x = sys.stdin.readline().strip()
	
	if x == "0":
		check = False
		break
	
	print("Case " + str(i) + ": " + x)

Submission status: Wrong Answer

Solution code:
import sys

check = True
i = 0
while check == True:

	x = sys.stdin.readline().strip()
	
	if x == "0":
		check = False
		break
	
	print("Case " + str(i) + ": " + x)

Submission status: Wrong Answer

Solution code:
import sys

check = True
i = 0
for j in range(100):

	x = sys.stdin.readline().strip()
	
	if x == "0":
		check = False
		break
	
	print("Case " + str(i) + ": " + x)

Submission status: Wrong Answer

Solution code:
a = input()
while a != 0 :
    print a
    a = input()

Submission status: Wrong Answer

Solution code:
a = list(map(str, input().split()))
t = len(a)

for i in range(t):
    print("Case " + str(i) + ": " + a[i])

Submission status: Wrong Answer

Solution code:
a = list(map(str, input().split()))
t = len(a)
 
for i in range(1, t):
    print("Case " + str(i) + ": " + a[i])

Submission status: Wrong Answer

Solution code:
a = list(map(str, input().split()))
t = len(a)

for i in range(1, t + 1):
    print("Case " + str(i) + ": " + a[i - 1])

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = [int(i) for i in input().split()]
for i in range(1, len(a)):
    print('Case',i,':',a[i])

Submission status: Wrong Answer

Solution code:
a = [int(i) for i in input().split()]
for i in range(1, len(a)):
    print('Case ',i,': ',a[i],end='')

Submission status: Wrong Answer

Solution code:
a = [int(i) for i in input().split()]
for i in range(1, len(a)):
    print('Case ',i,': ',a[i],sep='')

Submission status: Wrong Answer

Solution code:
a = [int(i) for i in input().split()]
for i in range(0, len(a)):
    print('Case ',i + 1,': ',a[i],sep='')

Submission status: Wrong Answer

Solution code:
a = [int(i) for i in input().split()]
for i in range(0,len(a)):
    print('Case ', i+1, ': ', a[i], sep='')

Submission status: Wrong Answer

Solution code:
i = 1

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

Submission status: Wrong Answer

Solution code:
i = 1

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

Submission status: Wrong Answer

Solution code:
b = []
x = 1
while 1:
    x = int(input())
    b.append(x)
    print(x)
    if x == 0:
        break

for i in b:
    print("Case ", (x+1), ': ', (i), sep='')
    x +=1

Submission status: Wrong Answer

Solution code:
b = []
i = 1
while 1:
    x = int(input())
    b.append(x)
    print(x)
    if x == 0:
        break

for x in b:
    print("Case ", (i), ': ', (x), sep='')
    i +=1

Submission status: Wrong Answer

Solution code:
b = []
i = 1
while 1:
    x = int(input())
    b.append(x)
    print(x)
    if x == 0:
        break

for x in b:
    if x == 0:
        break
    print("Case ", (i), ': ', (x), sep='')
    i +=1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
lis = []
a = int(raw_input())
while a != 0:
 lis.append(a)
 a = int(raw_input())

for i,v in enumerate(lis):
 print "Case %d: %d" % (i,v)

Submission status: Wrong Answer

Solution code:
import sys

s = sys.stdin.readlines()
for i, j in enumerate(s):
    print('Case {}: {}'.format(i + 1, j))

Submission status: Wrong Answer

Solution code:
import sys

s = sys.stdin.readlines()
for i, j in enumerate(s):
    if j == '0':
        break
    print('Case {}: {}'.format(i + 1, j))

Submission status: Wrong Answer

Solution code:
import sys

s = sys.stdin.readlines()
print(s)
for i, j in enumerate(s):
    if j == '0\n':
        break
    print('Case {}: {}'.format(i + 1, j))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

for (i,line) in enumerate(sys.stdin):
    a=int(line)
    if a == 0:
        break
    else:
        print 'case ',i,': ',a

Submission status: Wrong Answer

Solution code:
import sys

for (i,line) in enumerate(sys.stdin):
    a=int(line)
    if a == 0:
        break
    else:
        print 'Case ',i,': ',a

Submission status: Wrong Answer

Solution code:
import sys

i=1
for line in sys.stdin:
    a=int(line)
    if a == 0:
        break
    else:
        i+=1
        print 'Case ',i,': ',a

Submission status: Wrong Answer

Solution code:
import sys

i=1
for line in sys.stdin:
    a=int(line)
    if a == 0:
        break
    else:
        i+=1
        print 'Case',i,':',a

Submission status: Wrong Answer

Solution code:
import sys

i=1
for line in sys.stdin:
    a=int(line)
    if a == 0:
        break
    else:
        i+=1
        print 'Case {0}: {1}'.format(i, a)

Submission status: Wrong Answer

Solution code:
n=0
while n <1000:
    a=int(input())
    if a!=0:
        print("Case",n, ":",a)
        n=n+1
    else:
        n =n+1

Submission status: Wrong Answer

Solution code:
n=0
while n <1000:
    a=int(input())
    if a!=0:
        print("Case",n+1, ":",a)
        n=n+1
    else:
        n =n+1

Submission status: Wrong Answer

Solution code:
a=0
while(True):
	b=input()
	if b=="0":
		break
	print("Case",a,end="")
	a+=1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
cases = list(map(int, input().split()))
length = len(cases)

for n in range(length-1):
    print("Case "+str(n+1)+": "+str(cases[n]))

Submission status: Wrong Answer

Solution code:
cases = list(map(int, input().split()))
length = len(cases)

for n in range(length-1):
    print("Case "+str(n+1)+": "+str(cases[n]))
    
    if n > 9999:
        break

Submission status: Wrong Answer

Solution code:
count=0

while count<9999:
    case=int(input())
    if case==0:
        break
    else:
        print("Case "+str(count+1)+": "+str(case))
        count+=1

Submission status: Wrong Answer

Solution code:
import sys

cases=sys.stdin.readlines()
count=1
length=len(cases)

for case in cases:
    print("Case "+str(count)+": "+case)
    count+=1

Submission status: Wrong Answer

Solution code:
import sys

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
num = []
count = 0
while True:
    x = int(input())
    if x ==0:
        break
    num.append(x)
    count +=1
for i,j in zip(range(1,count+1),num):
    print('case '+str(i)+': '+str(j))

Submission status: Wrong Answer

Solution code:
import sys

for index, line in enumerate(sys.stdin):
    value = int(line.strip())
    print("Case {0}: {1}".format(index, value))

Submission status: Wrong Answer

Solution code:
import sys

for index, line in enumerate(sys.stdin):
    value = int(line.strip())
    print("Case {0}: {1}".format(index+1, value))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
values = input()
i_list = [int(x) for x in values.split()]
for i, v in enumerate(i_list):
    if 0 == v:
        break
    print('Case {0}:{1}'.format(i + 1, v))

Submission status: Wrong Answer

Solution code:
values = input()
i_list = [int(x) for x in values.split()]
for i, v in enumerate(i_list):
    if 0 == v:
        break
    print('Case {0}: {1}'.format(i + 1, v))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Here your code !
import sys

i = 1

for line in sys.stdin:
    print("Case " + str(i) + ": " + line.rstrip())
    i += 1

Submission status: Wrong Answer

Solution code:
import sys

list_line = sys.stdin.readlines()

for index, element in enumerate(list_line):
    list_line[index] = element.rstrip('\n')

print(list_line)

counter = 1
for i in list_line:
    if i != '0':
        print("Case %d:%s" % (counter, i))
        counter += 1
    else:
        counter = 1

Submission status: Wrong Answer

Solution code:
import sys

list_line = input().split('\n')

print(list_line)

counter = 1
for i in list_line:
    if i != '0':
        print("Case %d:%s" % (counter, i))
        counter += 1
    else:
        counter = 1

Submission status: Wrong Answer

Solution code:
import sys

list_line = input().split('\n')

counter = 1
for i in list_line:
    if i != '0':
        print("Case %d:%s" % (counter, i))
        counter += 1
    else:
        counter = 1

Submission status: Wrong Answer

Solution code:
import sys

list_line = input().split('\n')

counter = 1
for i in list_line:
    if i != '0':
        print("Case %d: %s" % (counter, i))
        counter += 1
    else:
        counter = 1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
dataset = input().split("\n")
c = 1
for i in dataset :
    print("Case " + str(c) + ":" + " " + str(i))
    c = c + 1

Submission status: Wrong Answer

Solution code:
c = 1
for i in input() :
    print("Case " + str(c) + ":" + " " + str(i))
    c = c + 1

Submission status: Wrong Answer

Solution code:
import sys
c = 1
for i in sys.stdin.readline() :
    print("Case " + str(c) + ":" + " " + str(i))
    c = c + 1

Submission status: Wrong Answer

Solution code:
import sys
c = 1
for i in sys.stdin.readline() :
    if (i == 0) :
        break
    else :
        print("Case " + str(c) + ":" + " " + str(i))
        c = c + 1

Submission status: Wrong Answer

Solution code:
import sys
c = 1
for i in sys.stdin.readlines() :
    if i == 0 :
        break
    else :
        print("Case " + str(c) + ":" + " " + str(i))
        c = c + 1

Submission status: Wrong Answer

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

for i, n in enumerate(num):
    print('Case{} :{}'.format(i, n))

Submission status: Wrong Answer

Solution code:
num = []
i = 0
while True:
    x = int(input())
    if x == 0 or i >= 9999:
        break
    num.append(x)
    i += 1

for i, n in enumerate(num):
    print('Case{} :{}'.format(i, n))

Submission status: Wrong Answer

Solution code:
num = []
i = 1
while True:
    x = int(input())
    if x == 0 or i >= 9999:
        break
    num.append(x)
    i += 1

for i, n in enumerate(num):
    print('Case{} :{}'.format(i, n))

Submission status: Wrong Answer

Solution code:
num = []
i = 1
while True:
    x = int(input())
    if x == 0 or i > 9999:
        break
    num.append(x)
    i += 1

for i, n in enumerate(num):
    print('Case{} :{}'.format(i, n))

Submission status: Wrong Answer

Solution code:
num = []
i = 1
while True:
    x = int(input())
    if x == 0 or x >= 10000 or i >= 9999:
        break
    num.append(x)
    i += 1

for i, n in enumerate(num):
    print('Case{} :{}'.format(i, n))

Submission status: Wrong Answer

Solution code:
num = []
i = 1
while True:
    x = int(input())
    if x == 0 or x > 10000 or i >= 9999:
        break
    num.append(x)
    i += 1

for i, n in enumerate(num):
    print('Case{} :{}'.format(i, n))

Submission status: Wrong Answer

Solution code:
num = []
i = 0
while True:
    x = int(input())
    if x == 0 or i >= 9999:
        break
    num.append(x)
    i += 1

for i, n in enumerate(num):
    print('Case{}: {}'.format(i, n))

Submission status: Wrong Answer

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

for i, n in enumerate(num):
    print('Case {}: {}'.format(i, n))

Submission status: Wrong Answer

Solution code:
for i, x in enumerate(input()):
    if not x:
        break
    print('Case {0}: {1}'.format(i+1, x))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
i=1
for x in sys.stdin.readline().strip():
    if x=="0":break
    print("Case {}: {}".format(i,x))
    i+=1

Submission status: Wrong Answer

Solution code:
i = 0
lis = []
while True:
    s = input()
    i += 1
    s = int(s)
    lis.append(s)
    if s == 0:
        break

for j in range(i):
    fmt = "case {a}: {b}"
    s = fmt.format(a = j,b = lis[j])
    print(s)

Submission status: Wrong Answer

Solution code:
i = 0
lis = []
while True:
    s = input()
    i += 1
    s = int(s)
    lis.append(s)
    if s == 0:
        break

for j in range(i):
    fmt = "case {a}: {b}"
    s = fmt.format(a = j + 1,b = lis[j])
    print(s)

Submission status: Wrong Answer

Solution code:
i = 0
lis = []
while True:
    s = input()
    i += 1
    s = int(s)
    lis.append(s)
    if s == 0:
        break

for j in range(i - 1):
    fmt = "case {a}: {b}"
    s = fmt.format(a = j + 1,b = lis[j])
    print(s)

Submission status: Wrong Answer

Solution code:
i = 1
for x in raw_input():
  print "Case %s: %s"% (i,x)
  i += 1

Submission status: Wrong Answer

Solution code:
import sys

i = 1
for x in sys.stdin:
  print "Case %s: %s"% (i,x)
  i += 1

Submission status: Wrong Answer

Solution code:
i = 1
for x in raw_input():
  if int(x) == 0:
    break
  print "Case %s: %s"% (i,x)
  i += 1

Submission status: Wrong Answer

Solution code:
i = 1
for x in raw_input().split("\n"):
  if int(x) == 0:
    break
  print "Case %s: %s"% (i,x)
  i += 1

Submission status: Wrong Answer

Solution code:
counter = 0

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

Submission status: Wrong Answer

Solution code:
while True:
    try:
        num = input()
    except EOFError:
        break

    print(num)

Submission status: Wrong Answer

Solution code:
#!usr/bin/env python3

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


if __name__ == '__main__':
    main()


# NOTE AOJ question URL (Repetitive Processing - Print Test Cases):
# http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_B

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Here your code !

i = 0

while i < 1000:
    num = input().rstrip()
    if int(num) > 0:
        print("Case i: " + num)
    else:
        print("Case i: " + num)
        break

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Here your code !

i = 0

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

Submission status: Wrong Answer

Solution code:
j = 1
list = [int(i) for i in input().split()]
for num in list:
    if num == 0:
        break
    print("Case " + str(j) +": "+ str(num) )
    j += 1

Submission status: Wrong Answer

Solution code:
j = 1
list = [int(i) for i in input().split()]
for num in list:
    if num == 0:
        break
    print("Case " + str(j) +": "+ str(num))
    j += 1

Submission status: Wrong Answer

Solution code:

i = 0 #????????????

while True:
	n = input()
	if n == '0':
		break
	i += 1#?????????????????????
	print('Case {} : {}'.format(i,n), end="")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x    = input()
case = 1

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

Submission status: Wrong Answer

Solution code:
c=0
n=1
while n!=0 :
    n=input()
    print "Case", str(c+1) + ":", n
    c=c+1

Submission status: Wrong Answer

Solution code:
import sys
count = 0
for i in sys.stdin.readlines():
    count +=1
    if i == 0:
         break
    else:
        print("Case "+str(count)+" "+i)