Run ID:85612
提交时间:2024-07-18 23:00:55
n=int(input()) a=list(map(int,input().split())) b=sum(a)*4;c=sum(a)*2 print(b,c)