#include <fstream>
#include <utility>

using namespace std;

int main() {
	ifstream in("yield.in");
	ofstream out("yield.out");
	pair<int,int> p;
	in >> p.first >> p.second;
	int sum = 0;
	try {
		throw p.first;
	} catch (int x) {
		sum += x;
	}
	try {
		throw p.second;
	} catch (int x) {
		sum += x;
	}
	out << sum << endl;
	return 0;
}
