Run ID:78201

提交时间:2024-06-16 17:03:05

m = int(input()) a = [] if m: a = list(map(int, input().split())) print(sum(a) * 4, sum(a) * 2)