ll@N,L;vector a{};while(N){ll n=sqrt(N);a.push_back(n);N-=n*n;}L=a.size();wt(L);wt(a);