import sys
n = int(input())
for i in range(0, n):
a, b = map(int, sys.stdin.readline().split())
print("Case #{}: {}".format(i+1, a+b))
코딩테스트/프로그래머스
import sys
n = int(input())
for i in range(0, n):
a, b = map(int, sys.stdin.readline().split())
print("Case #{}: {}".format(i+1, a+b))