#include #include #include #include #include #include using namespace std; #define maxn 111111 #define LL long long int main() { LL n, m, i, j; int t; int ca = 1; //scanf("%d",&t); while(scanf("%I64d",&n)!=EOF) { int aaaa; vector ve, res; LL temp = sqrt(n); for(i=1;i*i<=n;i++) { if(n%i==0) { ve.push_back(i); if(i*i!=n) ve.push_back(n/i); } } for(i=0;i