Run ID:86571
提交时间:2024-07-26 18:04:24
n = int(input()) holes = list(map(int,input().split())) eyes = 0 legs = 0 for i in holes: eyes += i*2 legs += i*4 print(str(legs)+' '+str(eyes)+'\n')