Files
PS/swea/12368.py
Gyubin Han 2600340c03 first commit
from old repository to a new repository
2024-04-30 16:59:10 +09:00

10 lines
134 B
Python

n=int(input())
for i in range(n):
a,b=map(int,input().split())
result=a+b
if result>23:
result-=24
print("#"+str(i+1),result)