import sys ans = 0; for num in sys.stdin: ans += int(num) print(ans)