|Rank|Nation|Gold|Silver|Bronze|Total|
|---|---|---|---|---|---|
|1|Japan|5|2|0|7|
|2|China|4|3|2|9|
|3|South Korea|0|3|1|4|
|4|North Korea|0|1|0|1|
|5|Chinese Taipei|0|0|3|3|
|5|Thailand|0|0|3|3|
|Total|Total|9|9|9|27|

Question: how many gold medals did japan win?
Answer: 5