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