def compositepi(n):
 n = int(n)
 if (n < 4):
  return 0
 return ((n - primepi(n)) - 1)

def compositepi ( n ) : n = int ( n ) if ( n < 4 ) : return 0 return ( ( n - primepi ( n ) ) - 1 )
return the number of positive composite numbers less than or equal to n .