#include <iostream>
#include <string>
#include <sstream>
#include <vector>
using namespace std;
vector<string> split(const string &s, char delim) {
vector<string> tokens;
stringstream ss(s);
string token;
while (getline(ss, token, delim)) {
tokens.push_back(token);
}
return tokens;
}
int main() {
string intline;
int sum;
getline(cin, intline);
vector<string> intparts = split(intline, ' ');
for (const auto &part : intparts) {
sum=sum+stoi(part);
}
cout<< sum << endl;
return 0;
}