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.
n = 0
while True:
    n += 1
    x = int(input())
    if x == 0:
        break
    print("case{}: {}".format(n, x))
n = 1
while True:
    x = int(input())
    if x == 0:
        break
    print("Case {}: {}".format(n, x))
    n += 1