Automatic generation of headlines for online math questions