Problem

Source:

Tags: number theory, Digits



Juan wrote a natural number and Maria added a digit $ 1$ to the left and a digit $ 1$ to the right. Maria's number exceeds to the number of Juan in $14789$. Find the number of Juan.