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:
import sys
count = 0
for i in sys.stdin.readlines():
    count +=1
    if i == "0":
         break
    else:
        print("Case "+str(count)+" "+i)

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)

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,end="")

Submission status: Wrong Answer

Solution code:
A = []

while True:
    n = int(input())
    if n == 0:
        break
    A.append(n)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=int(input())
if x != 0 :
 print("Case i: ", x)

Submission status: Wrong Answer

Solution code:
count = 0

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

Submission status: Wrong Answer

Solution code:
i = 0

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = []
while True:
    n = int(input())
    if n == 0:
        break
    a.append(n)
y = 0
z = len(a)
w = y + 1
for  y in range(0,z):
    print("Case"+str(w)+":",a[y])

Submission status: Wrong Answer

Solution code:
import sys
l = sys.stdin.read().split()
for k,v in enumerate(l):
    print("Case {}: {}".format(k,v))

Submission status: Wrong Answer

Solution code:
import sys
l = sys.stdin.read().split()
for k,v in enumerate(l):
    print("Case {}: {}".format(k+1,v))

Submission status: Wrong Answer

Solution code:

inputs = []

for i in range(10000) :
	inputraw = input()
	if inputraw == '0' :
		break
	inputs.append(inputraw)

for i, input in enumerate(inputs) :
	print("Case "+str(i)+": "+ str(input))

Submission status: Wrong Answer

Solution code:

inputs = []

for i in range(10000) :
	inputraw = input()
	if inputraw == '0' :
		break
	inputs.append(inputraw)

for i, input in enumerate(inputs) :
	print("Case "+str(i)+": "+ str(input)+" ")

Submission status: Wrong Answer

Solution code:
for i in range(1, 10000):
    a = input()
    if a != '':
        print("Case %d: %s" % (i, a))
    else:
        break

Submission status: Wrong Answer

Solution code:
for i in range(1, 10000):
    a = input()
    if a != '0':
        print("Case %d: %s" % (i, a))
    else:
        break

Submission status: Wrong Answer

Solution code:
for i in range(1, 10000):
    a = input().strip()
    if a == "0": break
    print("Case %d: %s" % (i, a))

Submission status: Wrong Answer

Solution code:
s = int(input())
print(s*s*s)

Submission status: Wrong Answer

Solution code:
for n in range(10000):
    x = int(input())
    if x != 0:
        print(x)
    else:
        print(0)
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

i=1
for x in sys.stdin:
    print ('Case {}: {}'.format(i,x))
    i+=1

Submission status: Wrong Answer

Solution code:
import sys

i=1
for x in sys.stdin:
    x.rstrip('\r\n')
    print ('Case {}: {}'.format(i,x))
    i+=1

Submission status: Wrong Answer

Solution code:
import sys

i=1
for x in sys.stdin:
    x.rstrip('\n')
    print ('Case {}: {}'.format(i,x))
    i+=1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
nums = []
x = input()
while x != '0':
    nums.append(x)
    x = input()
for i in range(len(nums)):
    print('Case {0}: {1}'.format(i, nums[i]))

Submission status: Wrong Answer

Solution code:
cnt = 0
num = int(input())
while num != 0:
  print('Case {0}: {1}', ++cnt, num)
  num = int(input())

Submission status: Wrong Answer

Solution code:
cnt = 0
num = input()
while num != "0":
    print('Case {0}: {1}'.format(cnt, num))
    cnt+=1
    num = input()

Submission status: Wrong Answer

Solution code:
import sys

sys.stdin.read().splitlines()

Submission status: Wrong Answer

Solution code:
import sys

array = sys.stdin.read().splitlines()

Submission status: Wrong Answer

Solution code:
import sys

for i, num in enumerate(sys.stdin.read().splitlines()):
  print("Case "+ str(i) +  ": " + num)

Submission status: Wrong Answer

Solution code:
import sys

for i, num in enumerate(sys.stdin.read().splitlines()):
  print("Case "+ str(i+1) +  ": " + num)

Submission status: Wrong Answer

Solution code:
count=1
while count<=10000:
    a=input()
    if a==0:
        break
    print "case",count,":",a
    count+=1

Submission status: Wrong Answer

Solution code:
count=1
while True:
    a=input()
    if a<1 or a>10000:
        break
    print "case",count,":",a
    count+=1

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
for c in range(100000):
    x = int(input().strip())
    if(x < 1):
        break
    print("Case {0}: {1}".format(c,x))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = 1
temp = []
while a != '0':
  a = input()
  temp.append(int(a))

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
a = 1

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

Submission status: Wrong Answer

Solution code:
import sys
a = 1

for x in sys.stdin.read().strip():
        if x == "0":
                break;
        print("Case {}: {}".format(a,x))
        a += 1

Submission status: Wrong Answer

Solution code:
x = int(input())
if x >= 1 and x <=10000:
   print ('Case i: {0}'.format(x))

Submission status: Wrong Answer

Solution code:
i = input()
print(i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
cnt = 1
for x in sys.stdin:
    i = x.strip()
    if i == 0: break
    print('Case '+repr(cnt)+': '+repr(int(i)))
    cnt+=1

Submission status: Wrong Answer

Solution code:
x=1
i =0

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

Submission status: Wrong Answer

Solution code:
l=[]
x=1
while x > 0:
    x = int(input())
    l.append(x)

print(l)

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

Submission status: Wrong Answer

Solution code:
l=[]
x=1
while x > 0:
    x = int(input())
    l.append(x)

print(l)

if len(l)-1 < 10000:
    n=len(l)-1
else:
    n=10000

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

Submission status: Wrong Answer

Solution code:
x = []

while(1):
	if(input() == 0):
		break
	x.append(input())

for i in range( len(x) ):
	print 'Case '+str(i)+':', x[i]

Submission status: Wrong Answer

Solution code:
x = []

while(1):
	num = int(input())
	if(num == 0):
		break
	x.append(num)

for i in range( len(x) ):
	print 'Case '+str(i)+':', x[i]

Submission status: Wrong Answer

Solution code:
n = 1
while True:
	x = int(input())
	if x == 0:
		break
	print('case ',n, ': ', x, sep='')

Submission status: Wrong Answer

Solution code:
### 17.07.2017
n = []
while (True):
	x = int(input())
	if x == 0:
		break
	n.append(int(x))
a = 0
for i in n:
	print('case ',a+1, ': ', n[a], sep='')
	a += 1

Submission status: Wrong Answer

Solution code:
t=[]
while True:
    x = str(input(""))
    if x == "0":
        break
    else:
        t.append(x)
for i,v in enumerate(t):
    print("Case",i+1,t[i])

Submission status: Wrong Answer

Solution code:
t=[]
while True:
  x = input("")
  if x == "0":
    break
  else:
     t.append(x)

for i,v in enumerate(t):
     print("case",str(i+1),':',t[i])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
for i in range(100):
     x = input()
     if x == 0:
          break
     else:
          print("Case " + str(i+1) + ": " + str(x))

Submission status: Wrong Answer

Solution code:
nums = [int(input()) for _ in range(10000)]
case = [int(i) for i in range(1, 10000)]
for i, j in zip(case, nums):
    print("Case {}: {}".format(i, j))
    if j == 0:
        break

Submission status: Wrong Answer

Solution code:
nums = [int(input()) for _ in range(10000)]
case = [int(i) for i in range(1, 10000)]
for i, j in zip(case, nums):
    if j == 0:
        break
    print("Case {}: {}".format(i, j))

Submission status: Wrong Answer

Solution code:
nums = [int(input()) for _ in range(1, 10000)]
case_list = [int(i) for i in range(1, 10000)]
for i, j in zip(case_list, nums):
    if j == 0:
        break
    print("Case {}: {}".format(i, j))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

ns = sys.stdin.readlines()

for i in range(1,10000):
    if ns[i] == "0":
        break
    else:
        print ("case ",i,": ",ns[i])

Submission status: Wrong Answer

Solution code:
import sys

ns = sys.stdin.readlines()

for i in range(1,10000):
    if ns[i] == "0":
        break
    else:
        print ("Case ",i,": ",ns[i])

Submission status: Wrong Answer

Solution code:
import sys

ns = sys.stdin.readlines()

for i in range(1,10000):
    if ns[i] == "0":
        break
    else:
        print ("Case ",i,": ",ns[i],"\n")

Submission status: Wrong Answer

Solution code:
input_list = []
flag = True

while flag:
    input_value = input()

    if input_value == "0":
        flag = False

    input_list.append(input_value)
    print("Hello")

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

Submission status: Wrong Answer

Solution code:
input_list = []
flag = True

while flag:
    input_value = input()

    if input_value == "0":
        flag = False

    input_list.append(input_value)


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

Submission status: Wrong Answer

Solution code:
x =[int(i) for i in input().split()]

for i, p in enumerate(x):
    if p == 0:
        break
    else:
        print("case {0}: {1}".format(i, p))

Submission status: Wrong Answer

Solution code:
x =[int(i) for i in input().split()]

for i, p in enumerate(x):
    if p == 0:
        break
    else:
        print("case {0}: {1}".format(i+1, p))

Submission status: Wrong Answer

Solution code:
x =[int(i) for i in input().split()]

for i, p in enumerate(x):
    if p == 0:
        break
    else:
        print("Case {0}: {1}".format(i+1, p))

Submission status: Wrong Answer

Solution code:
x =[int(i) for i in input().split()]

for i, p in enumerate(x):
    if p == 0:
        continue
    else:
        print("Case {0}: {1}".format(i+1, p))

Submission status: Wrong Answer

Solution code:
import sys
x = sys.stdin.readlines()

for i, p in enumerate(x):
    if p == 0:
        break
    else:
        print("Case {0}: {1}".format(i+1, p))

Submission status: Wrong Answer

Solution code:
ret = []
while True:
    n = input()
    if n == 0:
        break
    ret += [n]

for i, x in enumerate(ret):
    print 'Case %d: %d' % (i, x)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
i = 1
for line in sys.stdin:
    print("case %d: %d" % (i, int(line)))
    i += 1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

for i in range(len(a)-1):
    if a[i]!=0:
        
        print(a[i])

    else:break

Submission status: Wrong Answer

Solution code:
x = list(input().split("\n"))
i = 1
for j in x:
    int_j = int(j)
    if int_j != 0:
        print("Case", str(i)+":", int_j)
        i += 1
    else:
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
for i, x in enumerate(input()):
    if x == '0':
        break
    print('case ' + str(i) + ': ' + x)

Submission status: Wrong Answer

Solution code:
import sys
for i, x in enumerate(sys.stdin.read().strip()):
    if x == '0':
        break
    print('case ' + str(i) + ': ' + x)

Submission status: Wrong Answer

Solution code:
import sys
for i, x in enumerate(sys.stdin):
    x = x.strip()
    if x == '0':
        break
    print('Case %d: %s'%(i, x))

Submission status: Wrong Answer

Solution code:
array = []
x = int(input())

while x != 0 :
    array.append(x)
    x = int(input())

for i in range(len(array)):
    print('Case', str(i) + ':', array[i])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = [0]
for i in range(1,10000):
    k = int(input())
    if k == 0:
        break
    else:
        x.append(k)

n = len(x)

for j in range(1,n):
    print('{0}{1}{2}{3}'.format('Case ',j,': ',x[j]))

Submission status: Wrong Answer

Solution code:
x = input()
if x != "0":
    print(x)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
for i in range(20000):
    x = input()
    
    if x=="0":
        break
    
    else:
        print ("Case " + str(i) + ": " + str(x) +"\n")

Submission status: Wrong Answer

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import sys

def main():
    a = []
    N = 0
    for line in sys.stdin:
        if int(line) == 0:
            break
        else:
            a.append(int(line))
            N += 1
    for i in range(N):
        print("case "+str(i)+":", a[i])

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import sys

def main():
    a = []
    N = 0
    i = 0
    for line in sys.stdin:
        a.append(int(line))
        N += 1
    for i in range(N):
        print("case "+str(i)+":", a[i])

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import sys

def main():
    a = []
    N = 0
    i = 0
    for line in sys.stdin:
        a.append(int(line))
        N += 1
    for i in range(N):
        print("case {0}: {1}".format(i, a[i]))

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import sys

def main():
    a = []
    N = 0
    i = 0
    for line in sys.stdin:
        a.append(int(line))
        N += 1
    for i in range(0, N):
        print("case {0}: {1}".format(i+1, a[i]))

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
print('Hello')

Submission status: Wrong Answer

Solution code:
import sys
def main():

    a = []
    while True:
        n = input()
        if n == '0':
            break
        a.append(n)

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
a = list(map(int,input().split()))
if a[-1] != 0:
    for i in range(len(a)):
        print("Case {}: {}".format(i, a[i]))
else:
    for i in range(len(a)-1):
        print("Case {}: {}".format(i, a[i]))

Submission status: Wrong Answer

Solution code:
a = list(map(int,input().split()))
if a[-1] != 0:
    for i in range(len(a)):
        print("Case {}: {}".format(i+1, a[i]))
else:
    for i in range(len(a)-1):
        print("Case {}: {}".format(i+1, a[i]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = list(input())
for i in range(len(a)-1):
    print("Case {}: {}".format(i+1, a[i]))

Submission status: Wrong Answer

Solution code:
a = input()
for i in range(len(a)-1):
    print("Case {}: {}".format(i+1, a[i]))

Submission status: Wrong Answer

Solution code:
a = input().split()
for i in range(len(a)-1):
    print("Case {}: {}".format(i+1, a[i]))

Submission status: Wrong Answer

Solution code:
count = 1
while(True):
    inp = input()
    if inp == '0':
        break
    print('CASE ' + str(count) + ': ' + inp)
    count+=1

Submission status: Wrong Answer

Solution code:
cnt = 1
while True:
    num = int(input())
    if num == 0:
        break
    print("case", str(cnt) + ":", num, sep = " ")
    cnt += 1

Submission status: Wrong Answer

Solution code:
import sys
cnt=1
while 1:
 x=sys.stdin.readline().strip()
 if x=='0':
  break;
 print("Case %d %s"%(cnt,x))
 cnt+=1

Submission status: Wrong Answer

Solution code:
a = []
while True:
    n = int(input())
    if n is 0:
        break
    a.append(n)
for i, v in enumerate(a):
    print ("Case " + str(i) + ": "+str(v))

Submission status: Wrong Answer

Solution code:
a = []
while True:
    n = int(input())
    if n is 0:
        break
    a.append(n)
for i, v in enumerate(a):
    print ("Case " + str(i) + ": "+str(v)+"\n")

Submission status: Wrong Answer

Solution code:
n=[]
line=''
while line != '0':
    line=input()
    if line != '0': n.append(int(line))
for x in range(len(n)):
    print('Case %d: %d'%(x, n[x]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def main() :
    lst = list(map(int, input().split()))
    count = 1
    for n in lst :
        if n == 0 :
            break
        else :
            print("case {}: {}".format(count, n))
            count += 1



if __name__ == '__main__' :
    main()

Submission status: Wrong Answer

Solution code:
def main() :
    lst = list(map(int, input().split()))
    count = 1
    for n in lst :
        if n == 0 :
            break
        else :
            print("Case {}: {}".format(count, n))
            count += 1



if __name__ == '__main__' :
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

count = 1

for i in sys.stdin.readline().rstrip():
    if i == "0":
        break
    print('Case {}: {}'.format(count, i))
    count += 1

Submission status: Wrong Answer

Solution code:
L = [x for x in input().split()]
cnt = 1
for y in L:
    print("Case " + str(cnt) + ": " + y)
    cnt += 1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def main():
    data = []
    while 1:
        n = int(input())
        data.append(n)

        if n == 0:
            break

    for i in range(0,9999):
        d_val = data[i]

        if d_val != 0:
            print("Case{0}:{1}".format(i+1,d_val))
        else:
            break

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
def main():
    data = []
    while 1:
        n = int(input())
        length = data.__len__()
        data.append(n)

        if n == 0:
            break

        if length > 10000:
            print("Too Large")
            break

    for i in range(0,9999):
        d_val = data[i]

        if d_val != 0:
            print("Case{0}:{1}".format(i+1,d_val))
        else:
            break

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
def main():
    data = []
    while 1:
        n = int(input())
        length = data.__len__()
        data.append(n)

        if n == 0:
            break

        if length > 10001:
            print("Too Large")
            break

    for i in range(0,9999):
        d_val = data[i]

        if d_val != 0:
            print("Case{0}:{1}".format(i+1,d_val))
        else:
            break

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
def main():
    data = []
    while 1:
        n = input().split()
        ans = int(n[0])
        length = data.__len__()
        data.append(ans)

        if ans == 0:
            break

    if length > 10000:
        print("Too Large")
    else:
        for i in range(0,9999):
            d_val = data[i]

            if d_val != 0:
                print("Case{0}:{1}".format(i+1,d_val))
            else:
                break

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
def main():
    data = []
    while 1:
        n = input().split()
        ans = int(n[0])
        length = data.__len__()
        data.append(ans)

        if ans == 0:
            break

    if length > 9999:
        print("Too Large")
    else:
        for i in range(0,10000):
            d_val = data[i]

            if d_val != 0:
                print("Case{0}:{1}".format(i+1,d_val))
            else:
                break

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
def main():
    data = []
    while 1:
        n = input().split()
        ans = int(n[0])
        data.append(ans)

        if ans == 0:
            break

    what_large = len(data) > 10001

    if what_large:
        print("Too Large")
    else:
        for i in range(0,9999):
            d_val = data[i]

            if d_val != 0:
                print("Case{0}:{1}".format(i+1,d_val))
            else:
                break

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
def main():
    data = []
    while 1:
        n = input().split()
        ans = int(n[0])
        data.append(ans)

        if ans == 0:
            break

    what_large = len(data) > 10000

    if what_large:
        print("Too Large")
    else:
        for i in range(0,9999):
            d_val = data[i]

            if d_val != 0:
                print("Case{0}:{1}".format(i+1,d_val))
            else:
                break

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
def main():
    data = []
    while 1:
        n = input().split()
        ans = int(n[0])
        data.append(ans)

        if ans == 0:
            break

    length = len(data)
    what_large = length > 10000

    if what_large:
        print("Too Large")
    else:
        for i in range(0,9999):
            d_val = data[i]

            if d_val != 0:
                print("Case{0}:{1}".format(i+1,d_val))
            else:
                break

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
def main():
    data = []
    while 1:
        n = input().split()
        ans = int(n[0])
        data.append(ans)

        if ans == 0:
            break

    length = len(data)
    what_large = length > 10000

    if what_large:
        print("Too Large")
    else:
        for i in range(0,9999):
            d_val = data[i]

            if d_val != 0:
                print("Case {0}: {1}".format(i+1,d_val))
            else:
                break

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
def main():
    data = []
    while 1:
        n = input().split()
        ans = int(n[0])
        data.append(ans)

        if ans == 0:
            break

    length = len(data)
    what_large = length > 10000

    if what_large:
        print("Too Large")
    else:
        for i in range(len(data)):
            d_val = data[i]

            if d_val != 0:
                print("Case {0}: {1}".format(i+1,d_val))
            else:
                break

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
def main():
    data = []
    while 1:
        n = input().split()
        ans = int(n[0])
        data.append(ans)

        if ans == 0:
            break

    length = len(data)
    what_large = length >= 10000

    if what_large:
        print("Too Large")
    else:
        for i in range(len(data)):
            d_val = data[i]

            if d_val != 0:
                print("Case {0}: {1}".format(i+1,d_val))
            else:
                break

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
def main():
    data = []
    while 1:
        n = input().split()
        ans = int(n[0])

        if ans == 0:
            data.append(ans)
            break

        data.append(ans)


    length = len(data)
    what_large = length > 10000

    if what_large:
        print("Too Large")
    else:
        for i in range(len(data)):
            d_val = data[i]

            if d_val != 0:
                print("Case {0}: {1}".format(i+1,d_val))
            else:
                break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
i=1
for a in sys.stdin:
 a=a.strip()
 if a==0:break
 print(f'Case {i}: {a.strip}')
 i+=1