#include using namespace std; typedef long long ll; int main() { long double a, b; cin >> a >> b; cout << (ll)round(a + b) << endl; return 0; }