What percentage of Y Company's total outstanding shares did X Company acquire when it purchased 20,000 common shares for $700,000, considering Y Company has 100,000 shares trading on the New York Stock Exchange?

A) 20%
B) 25%
C) 30%
D) 35%