N = int(input()) haru = [ int (haru) for haru in input().split()] ha = sum(haru) print(ha)