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