#36088: python ac code


1360467-8@g.puiching.edu.mo (三國迷李牧粉)


a=int(input())
v=list(map(int,input().strip().split()))
b=0
c=0
for x in range(a):
    c=x+1
    b = b + int(v[x]) * (x + 1)
print(b)
#36089: Re: python ac code


asnewchien@gmail.com (david)


這題是自己寫的嗎。

#36090: Re: python ac code


1360467-8@g.puiching.edu.mo (三國迷李牧粉)


這題是自己寫的嗎。


yes

#36091: Re: python ac code


asnewchien@gmail.com (david)


這題是自己寫的嗎。


yes

你們學校也可以直接貼答案嗎。