Please read the following table in Markdown format and then answer the question according to the table. Table cells in one row are seperated by '|', and different rows are seperated by '
'.

Table:
| 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:
which country won the most medals?
Answer:
China