input() A = [int(arg) for arg in input().split(" ")] print(sum(A))