def main(): N = int(input()) A = tuple(map(int, input().split())) print(sum(A)) main()