A and B are two alloys of gold and copper prepared by mixing the metals in the ratio of 7 : 2 and 7 : 11, respectively. Equal quantities of the alloys are melted to form a third alloy, C. If the amount of copper in C is 10 kg, then what is the amount of gold in C?