roop = int(input()) data = input() data_list =data.split() sum = 0 for w in data_list: sum += int(w) print(sum)