n = int(input()) lista = [] for x in input().split(): lista.append(x) fab = 0 for i in range(n): fab += lista[i] print(fab)