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