//1180
#include <iostream>
using namespace std;
#define MAX 1000001
bool x[MAX];
//from the initial to calculate the number.which satisfy the equation ABCD = abcd + a + b + c +d;
int main()
{
memset(x,false,sizeof(x));
for( int i = 1 ; i < MAX ; i++)
{
int temp = i ;
int t = i;
while (t!=0)
{
temp += (t%10);
t /= 10;
}
x[temp] = true;
}
for(int ii = 1; ii< MAX ; ii++)
{
if( x[ii]==false)
printf("%d/n",ii);
}
return 0;
}