Josh had 142 pencils. He got 31 pencils from Dorothy. How many pencils does Josh have now?