#include<stdio.h>
void main()
{
int i,j,k,n;
while(n>100&&n<1000)
{
{i=n/100;
j=(n/10)%10;
k=n-100*i-j*10;}
if(i+j==k)
printf("%d%d%d%d\n",i,j,k,n);
}
}
void main()
{
int i,j,k,n;
while(n>100&&n<1000)
{
{i=n/100;
j=(n/10)%10;
k=n-100*i-j*10;}
if(i+j==k)
printf("%d%d%d%d\n",i,j,k,n);
}
}