The waiter Xiao Wang put dishes on the dining table. At the beginning, he asked each table to put 5 dishes, but found that 3 dishes were missing; later, he asked each table to put 8 dishes, so 24 dishes would be missing. Excuse me, how many tables are there in this restaurant?
服务员小王在饭桌上放碟子，开始的时候要求每张桌子放5个碟子，结果发现缺3个碟子；后来要求每张桌子放8个碟子，这样就会缺24个碟子．请问，这个饭店一共有几张桌子？
<gadget id="calculator">24 - 3</gadget>
<output>21</output>

<gadget id="calculator">8 - 5</gadget>
<output>3</output>

<gadget id="calculator">21 / 3</gadget>
<output>7</output>

<result>7</result>