Isha's pencil is 31 inches long. She had just sharpened off 14 inches. How long was her pencil before she sharpened it?