num = input() hoge = map(int, input().split()) n = 0 for i in hoge: n += i print(n)