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


# Output


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









# Input


# Output


# 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

j=i

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