In the 2016 Rio Olympic games, the total of gold, silver and bronze medals won by China was 70.

They won:
• 18 silver medals,
• the same number of gold medals as they did bronze medals.

How many gold medals did China win?