35% of goods were sold at a profit of 65%, while the remaining were sold at x% loss. If the overall loss is 12%, then what is the value of x?
A. 53.5
B. 52.4
C. 51.8
D. 50.6