#include<stdio.h>
main()
{
int s,n,i=1,sum=0;
scanf("%d,%d",&n,&s);
while(i<=n)
{sum=sum*10+s;
i++;}
printf("sum=%d",sum);
}
//第二种
#include<stdio.h>
main()
{
int sum=0,n,s,i;
scanf("%d,%d",&n,&s);
for(i=1;i<=n;i++)
{
sum=sum*10+s;
}
printf("sum=%d",sum);
}