There are a total of 161 students in the fifth grade of Wuyi Primary School. The number of people participating in the three study groups of Chinese, Mathematics, and English is 42, 45, and 37 respectively. There are 5 people who participated in the Chinese group and the math group at the same time, 12 people who participated in the Chinese group and the English group at the same time, 7 people who participated in the math group and the English group at the same time, and 2 people who participated in all three groups. How many people are there in the study group?
五一小学五年级一共有161人，参加语文、数学、英语三个学习小组的人数分别是42人、45人、37人．同时参加语文小组和数学小组的有5人，同时参加语文小组和英语小组的有12人，同时参加数学小组和英语小组的有7人，三组都参加的有2人，那么，没有参加课外学习小组的一共有多少人？
<gadget id="calculator">42 + 45 + 37</gadget>
<output>124</output>

<gadget id="calculator">124 - 5 - 12 - 7</gadget>
<output>100</output>

<gadget id="calculator">100 + 2</gadget>
<output>102</output>

<gadget id="calculator">161 - 102</gadget>
<output>59</output>

<result>59</result>