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