N = input() An = map(int, input().split()) sum = 0 for i in An: sum += i print(sum)