#define _USE_MATH_DEFINES #include #include #include #include #include #include #include #include #include #include #include #include #include //#include using namespace std; long h(long w){ if(w%2==0)return w/2; for(long i=3;i*i<=w;i+=2)if(w%i==0)return w/i; return 1; } int main() { string p; cin>>p; int t=0; for(int i=0;i