The formula for the perfect school principal