Solving Math Word Problem with Problem Type Classification