Run ID:78196
提交时间:2024-06-16 17:01:15
m = int(input()) a = list(map(int, input().split())) print(sum(a) * 4, sum(a) * 2)