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