#include #include #include using namespace std; int N,K; main() { cin>>N>>K; int sn=N; vectora; for(int i=2;i*i<=N;i++) { while(N%i==0) { a.push_back(i); N/=i; } } if(N>1)a.push_back(N); vectorx; for(int comb=(1<>j&1) { now*=a[j]; } } x.push_back(now); int X=comb&-comb; int y=comb+X; comb=(comb&~y)/X>>1|y; } sort(x.begin(),x.end()); x.erase(unique(x.begin(),x.end()),x.end()); int M,am=0; for(int i=1;i1)cnt*=2; if(am