N = map(int, input().split()) L = list(map(int, input().split())) print(sum(L))