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