#yuki_9009 n=int(raw_input()) l=map(int,raw_input().split()) res=sum(l) print res