for i in range(0,  int(input())):
    print("Case #%d: %d" %(i+1, sum(map(int, input().split()))))

f4fd034d407449013c7d2a2ae5f1df5f219cd69c
<mask token>

for i in range(0, int(input())):
    print('Case #%d: %d' % (i + 1, sum(map(int, input().split()))))

for i in range(0,  int(input())):
    print("Case #%d: %d" %(i+1, sum(map(int, input().split()))))
