#!/usr/bin/python2

import sys

count = 0

for line in sys.stdin:
    count += int(line)

print count