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:
for i in range(100000):
    n=int(input())
    if n==0:
        break
    print('Case '+str(i+1)+': '+str(n))

Submission status: Accepted

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+1)+": "+str(a[i]))

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:
import sys
a = []
line_count = 0
for line in sys.stdin:
    a.append(int(line))
    line_count += 1
for i in range(line_count):
    if a[i] == 0:
        break
    else:
        print('Case' + ' ' + str(i + 1) + ': ' + str(a[i]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
data = sys.stdin.readlines()
for i in range(len(data)):
    if data[i].rstrip() != '0':
        print('Case ' + str(i + 1) + ': ' + str(data[i].rstrip()))
    else:
        break

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python
#-*- coding: utf-8 -*-

# http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_B

if __name__ == '__main__':
    i = 1
    while 1:
        line = raw_input()
        if line == '0':
            break
        print "Case %d: %s" % (i, line)
        i += 1

Submission status: Accepted

Solution code:
c=1

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

Submission status: Accepted

Solution code:
i = 1

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
for i in range(1, 10001):
    s = input()
    if s == '0':
        exit()
    print('Case %d:' % i, s)

Submission status: Accepted

Solution code:
import itertools
for case in itertools.count(1):
    x = int(input())
    if not x: break
    print(f'Case {case}: {x}')

Submission status: Accepted

Solution code:
k = 0

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
li = []
i = int(input())
while i != 0:
    li.append(i)
    i = int(input())
for i in range(len(li)):
    print("Case " + str(i+1) + ": " + str(li[i]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = 1

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num = []
for a in range(10000):
    x = int(input())
    if  x == 0:
        break
    num.append(x)
for i in range(len(num)):
    print("Case " + str(i+1) + ": " + str(num[i]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
is_zero = False
case = 1
while not is_zero:
    num = int(input())
    if num == 0:
        is_zero = True
    else:
        print(f'Case {case}: {num}')
        case += 1

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
a = input()
i = 1
while a != "0":
    print("Case "+ str(i) + ": " + a)
    i = i + 1
    a = input()

Submission status: Accepted

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


main()

Submission status: Accepted

Solution code:
tgt = input()
cnt = 1
while int(tgt) > 0:
	print('Case ' + str(cnt) + ': ' + tgt)
	tgt = input()
	cnt += 1

Submission status: Accepted

Solution code:
inputDataList = []
while(1):
    inputData = int(input())
    if inputData != 0:
        inputDataList.append(inputData)
    else:
        break

for i in range(len(inputDataList)):
    print("Case {}: {}".format(i+1,inputDataList[i]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
boolean = True
string_list = []
while boolean:
    string = input()
    if int(string) == 0:
        boolean = False
    else:
        string_list.append(string)

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

Submission status: Accepted

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

Submission status: Accepted

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

a.pop(-1)
i = 0
for s in a:
    i += 1
    print('Case', str(i) + ':', s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    lines = list(get_input())
    for i, line in enumerate(lines):
        if int(line) == 0:
            break
        print("Case {}: {}".format(i+1, int(line)))

def get_input():
    while True:
        try:
            line = input()
            if line == '':
                break
            else: 
                yield line
        except EOFError:
            break


if __name__ == "__main__":
    main()

Submission status: Accepted

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

for i, line in enumerate(sys.stdin, 1):
    x = int(line.strip())
    if x == 0:
        break
    print(f'Case {i}: {x}')

Submission status: Accepted

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

Submission status: Accepted

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

for i, j in enumerate(list):
    print("Case {}: {}".format(i+1, j))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
for i in range(1,10001):
    k=int(input())
    if k==0:
        break
    else:
        print("Case %d: %d" %(i,k))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
count = 1

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

Submission status: Accepted

Solution code:
case=1
num_input=int(input())

while num_input!=0:
    print("Case "+str(case)+": "+str(num_input))
    num_input=int(input())
    case=case+1

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
for i in range(1,sys.maxsize):
    s=int(input())
    if s==0:
        break
    else:
        print("Case",str(i)+":",s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
xlist = []

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

for i, x in enumerate(xlist):
    if x == "0":
        break
    print("Case " + str(i+1) + ": " + x)

Submission status: Accepted

Solution code:
cnt = 0

while True:
    cnt += 1
    x = input()

    if (int(x) == 0):
        break

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
for i in range(1,10000+1):
    v = input()
    print(f'Case {i}: {v}')

Submission status: Accepted

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

for j, value in enumerate(list):
    print("Case " + str(j + 1) + ": " + str(value))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
li = []

while True:
    a = int(input())
    if a == 0:
        break
    li.append(a)

for i in range(len(li)):
    print("Case {}: {}".format(i + 1, li[i]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
kaisu = 1
num2 = []
while True:
	num = input()
	if num != "0":
		num2.append(num)
	else:
		break
for i in num2:
	print("Case {}: {}".format(kaisu, i))
	kaisu += 1

Submission status: Accepted

Solution code:
import sys

for n, i in enumerate(sys.stdin.readlines()):
    if int(i) != 0:
        print('Case ', n+1, ': ', i, sep='', end='')
    else:
        break

Submission status: Accepted

Solution code:
for i in range(10000):
    try:
        num=input()
        if num!='0':
            print('Case '+str(i+1)+': '+num)
    except EOFError:
        break

Submission status: Accepted

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

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

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:
i = 1

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
count = 1

while True:
    num = input()

    if int(num) == 0:
        break

    print(f'Case {count}: {num}')

    count += 1

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = 1

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = []
for i in range(10000):
    j = int(input())
    if j == 0:
        break
    a.append(j)
cnt = 0
for i in a:
    cnt += 1
    print('Case {0}: {1}'.format(cnt,i))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding:utf-8
m=0
while True:
    m+=1
    n=int(input())
    if n==0:break
    print("Case "+str(m)+":",n)

Submission status: Accepted

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+1)+": "+str(a[i]))

Submission status: Accepted

Solution code:
a = int(input())
Fin = (False if a != 0 else True)
printer = []
while not Fin:
    temp, a = a, int(input())
    printer.append(temp)
    if a == 0:
        Fin = True

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

Submission status: Accepted

Solution code:
import sys

i = 1

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
a = sys.stdin.readlines()[:-1]
for i in range(len(a)):
    print('Case {}: {}'.format(i+1, a[i]), end='')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=[]
while 1:
	x=int(input())
	if x!=0:
		a.append(x)
	else:
		break

for case,i in enumerate(a):
	print("Case "+str(case+1)+": "+str(i))

Submission status: Accepted

Solution code:
a = []

while True:
    b = input()
    if b == '0':
        break
    a.append(b)
    
for i in range(len(a)):
    print('Case '+str(i+1)+': '+a[i])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
sss = int(input())
counter = 1
while not sss == 0:
	print('Case '+str(counter)+': '+str(sss))
	sss = int(input())
	counter += 1

Submission status: Accepted

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

def main():

	a = []
	i = 1
	while True:
		a = int(raw_input())
		if a == 0:
			break
		print('Case %d: %d' % (i,a))
		i += 1

if __name__ == "__main__":

	main()

Submission status: Accepted

Solution code:
data = []
for x in range(0,1000000):
    a = int(input())
    if a == 0:
        break
    data.append(a)
for x in range(0,len(data)):
    print("Case",x+1,end='')
    print(":",data[x])

Submission status: Accepted

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

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

Submission status: Output Limit Exceeded

Solution code:
i = 0
a = []
while True:
    x = raw_input().split()
    print x[0]
    if int(x[0]) == 0:
        break
    else:
        a.append(x)
f=[]    
for j in range(len(a)):
    f.append(str(j+1)+":")
    print "Case"," ".join(map(str,f)), " ".join(map(str,a[j]))

Submission status: Output Limit Exceeded

Solution code:

array = []
while True:
  z = input()
  if(int(z)== 0):
    break
  else:
    array.append(z)

a = 1
for i in array:
  print('Case ' + str(a) + ': ' + str(i))
  a += a

Submission status: Output Limit Exceeded

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

a = 1
for i in array:
  print('Case ' + str(a) + ': ' + str(i))
  a += a

Submission status: Output Limit Exceeded

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

Submission status: Output Limit Exceeded

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

Submission status: Output Limit Exceeded

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

Submission status: Runtime Error

Solution code:
#include<iostream>
#include<string>
using namespace std;

int main()
{
  string array[10001];
  int i = 0;
  while (getline(cin, array[++i]), array[i] != "0")
  {
    cout << "Case " << i << ": " << array[i] << endl;
  }
  return 0;
}

Submission status: Runtime Error

Solution code:
#include <iostream>
#include <string>

using namespace std;

int main()
{
	string array[10001];
	int i = 0;
	while (getline(cin,array[++i]), array[i]!="0")
	{
		cout << "Case " << i << ": " << array[i];
	}
	return 0;
}

Submission status: Runtime Error

Solution code:
#include <iostream>
#include <string>

using namespace std;

int main()
{
	string array[10001];
	int i = 0;
	while (cin>>array[++i], array[i]!="0")
	{
		cout << "Case " << i << ": " + array[i] << endl;
	}
	return 0;
}

Submission status: Runtime Error

Solution code:
#include <iostream>
#include <string>

using namespace std;

int main()
{
 int array[10001];
 int i = 0;
 while (cin>>array[++i]){}
 i = 0;
 while (array[++i])
 {
  cout << "Case " << i << ": " << array[i] << endl;
 }
 return 0;
}

Submission status: Runtime Error

Solution code:
#include <iostream>

using namespace std;

int main()
{
 int array[10001];
 int i = 0;
 while (cin>>array[++i]){}
 i = 0;
 while (array[++i])
 {
  cout << "Case " << i << ": " << array[i] << endl;
 }
 return 0;
}

Submission status: Runtime Error

Solution code:
a5=[]
while 1:
    x=int(input())
    if x==0:
        break
    a5.append(x)
j = 0
for i in a5:
    print("Case " + j+1+": "+ i)
    j=j+1

Submission status: Runtime Error

Solution code:
a5=[]
while True:
    x=int(input())
    if x==0:
        break
    a5.append(x)
j = 0
for i in a5:
    print("Case " + j+1+": "+ i)
    j=j+1

Submission status: Runtime Error

Solution code:
counter=0

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

Submission status: Runtime Error

Solution code:
package main

import (
	"fmt"
)

func main(){
	var a int
	for i:=1; i<10000; i++{
		fmt.Scan(&a)
		if a == 0{
			break
		}
		fmt.Printf("Case %d: %d", i, a)
	}
}

Submission status: Runtime Error

Solution code:
package main

import (
	"fmt"
)

func main(){
	var a int
	for i:=1; ; i++{
		fmt.Scan(&a)
		if a == 0{
			break
		}
		fmt.Printf("Case %d: %d\n", i, a)
	}
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
i=1
while True:
    x=int(input())"文字列なのでint()でキャスト"
    if(x==0) break
    print(f"Case {i}:{x}")
    i=i+1

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
i=0
while True:
    x=int(input())"文字列なのでint()でキャスト"
    if(x==0) break
    print(f"Case {i}:{x}")
    i=i+1

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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