#include<stdio.h>
#define N 10
int main()
{
int n,a,sum=0,temp,i;
scanf("%d%d",&n,&a);
temp=a;
for(i=0;i<n;i++)
{
sum+=a;
a=a*10+temp;
}
printf("%d\n",sum);
return 0;
}
09-28
520
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-13
2612
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-12
778
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)