import java.util.*;
class loop
{int n=10, c=0,s=0, x;
public void main()
{ for( x=1; x<=n/2; x++)
{if ( n%x==0)
s+=x;
c++;
}
float avg= (float) s/c;