N = int(input()) list =[] list = map(int,input().split()) temp = 0 for i in range(N): temp = temp + list[i] print(temp)