Which group is most responsible for bringing social change to China during the Qing era and to Japan during the Tokugawa Shogunate?

ASoldiers
BMerchants
CNobles
DFarmers