There are 28 people participating in the calligraphy group in class three, 19 people participating in the art group, and 5 people participating in both groups. How many people are participating in these two groups?
三年一班参加书法小组的有28人，参加美术小组的有19人，两个小组都参加的有5人，参加这两个小组的一共有多少人？
<gadget id="calculator">28 + 19</gadget>
<output>47</output>

<gadget id="calculator">47 - 5</gadget>
<output>42</output>

<result>42</result>