#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{int n=1;
for(n;n<=1000;n++);
{ int i=1,f1=0,f2=0;
for(i;i<=n;i++);
{
if(n%i==0)
f1=i;
f2=f2+f1;
}
while(n=f2)
printf("%d its factors are",n);
for(i;i<=n;i++);
{
if(n%i==0)
printf("%d",i);
}
}
return 0;
}