Run ID:86566
提交时间:2024-07-26 17:57:01
n = int(input()) holes = list(map(int,input().split())) eyes = 0 legs = 0 for i in holes: eyes += i*1 legs += i*4 print(eyes,legs)