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