$N$ is a $50$-digit number (in the decimal scale). All digits except the $26^{\text{th}}$ digit (from the left) are $1$. If $N$ is divisible by $13$, what is the value of the $26^{\text{th}}$ digit?

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