#include using namespace std; int N,a=1; main() { cin>>N; for(int i=2;i*i<=N;i++) { while(N%(i*i)==0) { N/=i*i; a*=i; } } cout<