using namespace std; int main() { int a,n,i,j,s=0;
cin>>a>>n; for(i=1;i<=n;i++) for(j=1;j<=i;j++) s+=a*pow(10,j-1); cout<<s<<endl; return 0;
}
比赛已结束。