a=input()
l=a.split(" ")
s=0
for i in l[1:]:
    s+=int(i)
print(s)