import sys print(sum(map(lambda x: int(x.strip()), sys.stdin.readlines())))