1
2
3
4
5
6
import sys

result = 0
for line in sys.stdin:
    result += int(line)
print(result)