Mell's friends bought two bowls of ice cream, so that was a cost of 2 * 3 = $<<2*3=6>>6.

They all three bought two cups of coffee each, so they ordered 2 * 3 = <<2*3=6>>6 cups of coffee in total.

The cost of the coffee was therefore 6 * 4 = $<<6*4=24>>24.

All her friends bought one piece of cake each, so the cost of it in total was 3 * 7 = $<<3*7=21>>21.

Mell and her friends spent in total 6 + 24 + 21 = $<<6+24+21=51>>51 at the cafeteria.

# Answer

51
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Mell went to a cafeteria to spend some time with her friends. She ordered two cups of coffee and one piece of cake. Two of her friends ordered the same, but each of them also bought a bowl of ice cream. One cup of coffee is $4, one piece of cake is $7, and a bowl of ice cream is $3. How much money did Mell and her friends need to pay at the cafeteria?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
51
Mell went to a cafeteria to spend some time with her friends. She ordered two cups of coffee and one piece of cake. Two of her friends ordered the same, but each of them also bought a bowl of ice cream. One cup of coffee is $4, one piece of cake is $7, and a bowl of ice cream is $3. How much money did Mell and her friends need to pay at the cafeteria?
train