Run ID:78205
提交时间:2024-06-16 17:06:16
m = int(input()) a = [] if m: a = list(map(int, input().split())) print(sum(a) * 4, sum(a) * 2, end = "")