In the third grade, 56 people participated in the cultural performance, 39 people sang, 40 people danced, how many people both sang and danced.
三年级有56人参加文艺汇演，演唱的有39人，跳舞的有40人，既唱歌又跳舞的有多少人．
<result>13</result>