#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
vector<int> numbers;
int num;
while (cin >> num) {
numbers.push_back(num);
}
int sum;
for (int i = 0; i < numbers.size(); i++) {
sum += numbers[i];
}
cout << sum;
return 0;
}