The fifth and sixth grades of Benniu Experimental Primary School each have 8 classes. There are 50 students in each class of fifth grade and 52 students in each class of sixth grade. How many students are there in total?
奔牛实验小学五、六年级各有8个班，五年级每班有50人，六年级每班有52人，五、六年级一共有多少人？
<gadget id="calculator">50 * 8</gadget>
<output>400</output>

<gadget id="calculator">52 * 8</gadget>
<output>416</output>

<gadget id="calculator">400 + 416</gadget>
<output>816</output>

<result>816</result>