main()
{int number,i,j,k,sum,a[1000],n,m;repeat
scanf("%d",repeat)
if(repeat>0&&repeat<10)
for(j=1;j<=repeat;j++)
{
scanf("%d%d",&m,&n);
for(number=n;number
{for(i=1;iif(number%i==0)
{a[k]=i;k++;}
for(i=0;isum=sum+a[i];
if(sum==j)
{
printf("%d=1",number)
for(i=1;iprintf("+%d",a[i]);
printf("\n");}
}
}
}