#include <iostream>
using namespace std;

int main() {
	cout << 28 + 56 + 45 - 50;
	return 0;
}