Let $\frac{a}{b}$ be a fraction such that $a$ and $b$ are positive integers and the first three digits of its decimal expansion are 527. What is the smallest possible value of $a+b?$

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