N = int(input()) An = list(map(int, input().split())) ans = 0 for Ai in An: ans += Ai print(ans)