#include<iostream> #include <math.h> using namespace std; int main() { int a,b; float c; cin>>a>>b; c=a+b/10; cout<<floor(c/1.9)<<endl; return 0; }