Find the sum (in base $10$) of the three greatest numbers less than $1000_{10}$ that are palindromes in both base $10$ and base $5$.

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