Mental function in males and females