N = int(input()) sum = 0 second = input() sprit_second = second.split() for i in range(N): sum += int(sprit_second[i]) print(sum)