@@ -0,0 +1,21 @@
+#include<bits/stdc++.h>
+using namespace std;
+int main()
+{
+ int st,ed,t,temp;
+ cin>>st>>ed;
+ int a[10]={0};
+ for(int i=st;i<=ed;i++){
+ t=i;
+ while(t){
+ temp=t%10;
+ a[temp]++;
+ t/=10;
+ }
+ cout<<a[0];
+ for(int i=1;i<=9;i++){
+ cout<<" "<<a[i];
+ return 0;
+}