#include <iostream>
using namespace std;
int main()
{
long x1;
long sum = 0;
while (cin>>x1) {
sum+=x1;
}
cout << sum << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkKewoKbG9uZyB4MTsKbG9uZyBzdW0gPSAwOwp3aGlsZSAoY2luPj54MSkgewogICAgc3VtKz14MTsKICAgIH0KICAgIGNvdXQgPDwgc3VtIDw8IGVuZGw7CnJldHVybiAwOwp9