#include using namespace std; int main() { int a, b, nr; cin >> a >> b; nr = b / 10 - (a - 1) / 10; cout << nr << endl; return 0; }