n = input N = int(n) f = input() s_f = f.split() a = 0 for i in range(1, N + 1): b = int(s_f[i-1]) a += b print(a)