Find the sum of all positive integers such that their expression in base $7$ digits is the reverse of their expression in base $16$ digits. Express your answer in base $10$.

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