Li Ming's mathematics, Chinese, and foreign language scores are announced. It is known that the total score of mathematics and Chinese is 181 points, the total score of Chinese and foreign language is 182 points, and the total score of mathematics and foreign language is 179 points. What is the score of mathematics?
李明数学、语文、外语成绩揭晓了，已知数学、语文的总分是181分，语文和外语的总分是182分，数学和外语总分是179分，那么数学成绩是多少分
<gadget id="calculator">181 + 182 + 179</gadget>
<output>542</output>

<gadget id="calculator">542 / 2</gadget>
<output>271</output>

<gadget id="calculator">271 - 182</gadget>
<output>89</output>

<result>89</result>