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