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 | Province | Gold | Silver | Bronze | Total |
| --- | --- | --- | --- | --- | --- |
| 1.0 | Bangkok | 129.0 | 114.0 | 80.0 | 323.0 |
| 2.0 | Suphan Buri | 39.0 | 24.0 | 30.0 | 93.0 |
| 3.0 | Trang | 36.0 | 15.0 | 28.0 | 79.0 |
| 4.0 | Chonburi | 30.0 | 40.0 | 32.0 | 102.0 |
| 5.0 | Nakhon Ratchasima | 17.0 | 22.0 | 29.0 | 68.0 |
| 6.0 | Chiang Mai | 16.0 | 25.0 | 38.0 | 79.0 |
| 7.0 | Nonthaburi | 13.0 | 13.0 | 21.0 | 47.0 |
| 8.0 | Si Sa Ket | 13.0 | 5.0 | 14.0 | 32.0 |
| 9.0 | Ubon Ratchathani | 12.0 | 8.0 | 25.0 | 45.0 |
| 10.0 | Samut Sakhon | 10.0 | 9.0 | 11.0 | 30.0 |
Question:
How many total medals does rank 3 with less than 40 silver medals?
Answer:
79.0