Find three-digit numbers such that any of its positive integer powers ends with the same three digits and in the same order. Please provide the sum of all such numbers.

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