In how many ways can you order 7 different colored hats in a row?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
In how many ways can you order 7 different colored hats in a row?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
5,\!040
In how many ways can you order 7 different colored hats in a row?
train