A village in a mountainous area has a population of 2476, and all the people in the village can speak Mandarin or Cantonese. According to the survey, there are 1765 people who can speak Mandarin and 987 people who can speak Cantonese. How many people can speak both Mandarin and Cantonese?
某山区的村落有人口2476人，全村落的人都会说普通话或广东话．调查所得，会说普通话的有1765人，会说广东话的有987人．问会说普通话和广东话两种语言的有多少人？
<gadget id="calculator">987 - 2_476</gadget>
<output>-1_489</output>

<gadget id="calculator">1_765 + (-1_489)</gadget>
<output>276</output>

<result>276</result>