#include int main(int argc,char** argv){ int i,j; scanf("%d",&i); for(j = 2; j < i/2; j++ ){ if(i%j == 0){ printf("%d",i/j); break; } } return 0; }