Juan wrote a natural number. Maria then added a digit $1$ to the left and a digit $1$ to the right of Juan's number. As a result, Maria's number exceeds Juan's number by $14789$. Find the original number that Juan wrote.

Let's think step by step and output the final answer within \boxed{}.
user