#include<stdio.h> #include<math.h> int main() { int n,k=0,i,m=0; while(scanf("%d",&n)!=EOF) { while(n>0) { i=0; k=(int)sqrt(n); while(k>1) { if(n%k==0) i=k+...