Suppose that for some positive integer $n$, the first two digits of $5^n$ and $2^n$ are identical. Suppose the first two digits are $a$ and $b$ in this order. Find the two-digit number $\overline{ab}$.

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