#include<bits/stdc++.h> using namespace std; int main() { long long a,b; cin>>a>>b; b=b/10; cout<<std::fixed<<setprecision(0)<<(a+b)/1.9; return 0; }