A positive integer n is a factor of 200 but not a factor of 100. Also, 5 is a factor of n but 25 is not a factor of n. What is the value of n?

a) 10
b) 20
c) 40
d) 50