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.
count = 1
while(True):
    inp = input()
    if inp == '0':
        break
    print('CASE ' + str(count) + ': ' + inp)
    count+=1
count = 1
while(True):
    inp = input()
    if inp == '0':
        break
    print('Case ' + str(count) + ': ' + inp)
    count+=1