A man sells an article at a gain of 10%. If he had bought it for 10% less and sold it for Rs. 10 more, he would have gained 40%. Find the cost price.

A. 200
B. 250
C. 300
D. 400