input() lis = list(map(int, input().split())) print(sum(lis))