#24552: 抄題不會變強2.0


st9103178@apps.tn.edu.tw (邱彥鎧60513)


我其實是看隔壁的隔壁的答案

抄題也是會變強的

 

 

特別感謝:李侑X

a=int(input())
b=list(map(int,input().split()))
m=0
for x in range(a):
m+=b[x]*(x+1)
print(m)
自己縮排