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.
L = [x for x in input().split()]
cnt = 1
for y in L:
    print("Case " + str(cnt) + ": " + y)
    cnt += 1
i = 1
while 1:
    x = int(input())
    if i > 10000 or (x < 1 or 10000 < x):
        break
    print('Case ' + str(i) + ': ' + str(x))
    i += 1