#include<bits/stdc++.h> using namespace std; int main(){ int b[10],m,n; cin>>n>>m; for(int i=n;i<=m;i++) for(int j=i;j;j/=10) b[j%10]++; for(int k=0;k<=9;k++) cout<<b[k]<<" "; return 0; }