ct = int(input()) lst = [] for _ in range(ct) : lst.append(int(input())) print(sum(lst))