input_line = int(input()) h = 0 for i in range(input_line): s = int(input()) h = h+s print(h)