#include #define OO 1e9 using namespace std; #define ll long long ll solve(ll t){ if(t==1) return 1; vector pf; ll temp=t; for(ll i=2; i*i<=t; i++){ while(temp%i==0){ temp/=i; pf.push_back(i); } } if(temp!=1) pf.push_back(temp); reverse(pf.begin(),pf.end()); pf.pop_back(); reverse(pf.begin(),pf.end()); ll ans=1; for(int i=0; i