user
Instruction
Answer the question based on the provided table.


Table
Table Title: state agency expenditures for r&d, by state and function of r&d, for the 10 states with the highest levels of r&d expenditures: fy 2015
Table Content:
<table border="1" cellspacing="0">
<tr> <td> state </td> <td> total </td> <td> agriculture </td> <td> energy </td> <td>  </td> <td> health </td> <td> transportation </td> <td> other </td> </tr>
<tr> <td> united statesa </td> <td> 2205147 </td> <td> 127363 </td> <td> 312114 </td> <td> 413230 </td> <td> 939828 </td> <td> 247780 </td> <td> 164831 </td> </tr>
<tr> <td> california </td> <td> 500072 </td> <td> 7567 </td> <td> 194354 </td> <td> 30382 </td> <td> 221873 </td> <td> 35201 </td> <td> 10694 </td> </tr>
<tr> <td> new york </td> <td> 365552 </td> <td> 2166 </td> <td> 40788 </td> <td> 21641 </td> <td> 244408 </td> <td> 6851 </td> <td> 49699 </td> </tr>
<tr> <td> florida </td> <td> 191599 </td> <td> 18530 </td> <td> 1117 </td> <td> 57934 </td> <td> 102896 </td> <td> 11121 </td> <td> 0 </td> </tr>
<tr> <td> texas </td> <td> 185094 </td> <td> 809 </td> <td> 0 </td> <td> 14491 </td> <td> 149991 </td> <td> 19803 </td> <td> 0 </td> </tr>
<tr> <td> ohio </td> <td> 94299 </td> <td> 0 </td> <td> 11049 </td> <td> 42607 </td> <td> 3247 </td> <td> 10142 </td> <td> 27255 </td> </tr>
<tr> <td> pennsylvania </td> <td> 75024 </td> <td> 787 </td> <td> 2157 </td> <td> 9129 </td> <td> 52399 </td> <td> 2438 </td> <td> 8114 </td> </tr>
<tr> <td> connecticut </td> <td> 55817 </td> <td> 4229 </td> <td> 1944 </td> <td> 10303 </td> <td> 28804 </td> <td> 5410 </td> <td> 5127 </td> </tr>
<tr> <td> new mexico </td> <td> 52303 </td> <td> 28426 </td> <td> 2978 </td> <td> 3348 </td> <td> 11313 </td> <td> 2787 </td> <td> 3451 </td> </tr>
<tr> <td> virginia </td> <td> 43616 </td> <td> 1121 </td> <td> 6264 </td> <td> 9600 </td> <td> 6250 </td> <td> 17555 </td> <td> 2827 </td> </tr>
<tr> <td> utah </td> <td> 38168 </td> <td> 2035 </td> <td> 4836 </td> <td> 18246 </td> <td> 8531 </td> <td> 1471 </td> <td> 3049 </td> </tr>
<tr> <td> all others </td> <td> 603603 </td> <td> 61694 </td> <td> 46629 </td> <td> 195547 </td> <td> 110116 </td> <td> 135001 </td> <td> 54616 </td> </tr>
<tr> <td> puerto ricob </td> <td> 5674 </td> <td> 683 </td> <td> 400 </td> <td> 150 </td> <td> 3123 </td> <td> 560 </td> <td> 757 </td> </tr>
</table>


Question
in fy 2015, a total of 39 state governments reported some expenditures for energy-related r&d, how many thousand dollars were state government r&d expenditures for energy-related r&d in new york?


Answer Format
The final answer should be concise and use the following format:
```json
{
    "answer": [
        "answer1",
        "answer2",
        ...
    ]
}
```
rule
["40788.0"]