Teen stops studying to rub one out