N = input() L = list(map(int, input().split())) result = 0 for i in L: result += i print(result)