raw_input() print(sum(list(map(int, raw_input().split(' ')))))