Let be an integer satisfying . The fraction can sometimes be written as a terminating decimal with exactly three digits after the decimal point, after all trailing zeros have been removed.
What is the sum of all values of for which this is possible?
A
B
C
D
E