#include <iostream>#include <stdio.h>#include <string.h>using namespace std;#define MAX 1000001bool x[MAX];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("%dn",ii);}return 0;}


