#include<iostream> #include<iomanip> using namespace std; int main() { int a,b; cin >> a >> b; cout << fixed << setprecision(0) << (a+0.1*b)/1.9; return 0; }