int main() { int N,n,x,a; printf("N(N>=3,N<=7)😊; scanf("%d",&N); x=0,n=pow(10,N-1); do { while(n!=0) { a=n%10; x=x+pow(a,3); n/10; } if(n==x) printf("%d\n",n); else n++; } while(n>=pow(10,N-1),n<pow(10,N)); return 0; }