The first 8 customers bought 8*3=<<8*3=24>>24 cases

The next 4 customers bought 4*2=<<4*2=8>>8 cases

The last 8 customers bought 8*1=<<8*1=8>>8

In total 24+8+8=<<24+8+8=40>>40 cases were sold

# Answer

40
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
There was a big sale on cat food at the pet store. 20 people bought cat food that day. The first 8 customers bought 3 cases each. The next four customers bought 2 cases each. The last 8 customers of the day only bought 1 case each. How many cases of cat food were sold?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
40
There was a big sale on cat food at the pet store. 20 people bought cat food that day. The first 8 customers bought 3 cases each. The next four customers bought 2 cases each. The last 8 customers of the day only bought 1 case each. How many cases of cat food were sold?
train