#!/usr/bin/env python3
import sys
partial_sum = 0
for n in map(int, sys.stdin):
partial_sum += n
print(partial_sum)
IyEvdXNyL2Jpbi9lbnYgcHl0aG9uMwppbXBvcnQgc3lzCgpwYXJ0aWFsX3N1bSA9IDAKZm9yIG4gaW4gbWFwKGludCwgc3lzLnN0ZGluKToKICAgIHBhcnRpYWxfc3VtICs9IG4KICAgIHByaW50KHBhcnRpYWxfc3VtKQ==