input() N=[int(i) for i in input().split()] print(sum(N))