Which subject was only studied by boys with sufficient ability