fork download
  1. # your code goes here
  2. T = int(input())
  3. hab = 0
  4. for i in range(1,T+1):
  5. A,B = map(int, input().split( ))
  6. hab = A+B
  7. print(f"Case#{i}:{hab}")
Success #stdin #stdout 0.04s 9820KB
stdin
5
1 1
2 3
3 4
9 8
5 2
stdout
Case#1:2
Case#2:5
Case#3:7
Case#4:17
Case#5:7