_ = input() print(str(sum(list(map(int, input().split())))) + '\n')