input_1 = input() input_2 = list(map(int,input().split())) sum = 0 for i in input_2: sum += i print(sum)