Xiao Pingping has many sets of clothing, including 5 hats, 10 jackets, and 8 pants. Every time he travels, he needs to choose one of several outfits. May I ask: How many different outfits can be formed?
小平平有许多套服装，帽子的数量为5顶，上衣有10件，裤子有8条，每次出行要从几种服装中各取一个搭配，请问：共可组成多少种不同的搭配？
<gadget id="calculator">5 * 10 * 8</gadget>
<output>400</output>

<result>400</result>