Num = int(input()); Data = input(); DataNum = Data.split(" "); Sum = 0; for number in range(0,Num): Sum = Sum + int(DataNum[number]); print(Sum);