$N$ is a 50-digit number in decimal representation. All digits except the 26th digit (from the left) are 1. If $N$ is divisible by 13, find its 26th digit.

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