There are 4 identical math books and 4 identical Chinese books, and Xiaohua takes out 3 of them at random. How many different ways are there in total?
有4本同样的数学书和4本同样的语文书，小华从中任意拿出3本，一共有几种不同的拿法？
<gadget id="calculator">1 + 1 + 1 + 1</gadget>
<output>4</output>

<result>4</result>