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