China earned a total of 70 medals at the 2016 Olympics. The number of gold medals was the same as the number of bronze medals. The number of silver medals was 8 less than the number of bronze medals. How many of each kind of medal did China earn?