size = int( input() ) # line2, numbers numbers = map(int, input().split()) print("%d\n" %(sum(numbers)))