← Back to List
28097번: 모범생 포닉스 ↗
Solutions
Python 3
89 B | 89 chars
n = int(input()) l = [*map(int,input().split())] s = sum(l) + (n-1)*8 print(s//24,s%24)