Below is an instruction that describes a task. Write a response that appropriately completes the request in English. Please answer in English.

### Instruction:
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?

### Response:
Mell's friends bought two bowls of ice cream, so they paid 2 * 3 = $<<2*3=6>>6 for them.
All three of them ordered two cups of coffee each, so in total, they ordered 2 * 3 = <<2*3=6>>6 cups of coffee.
They paid 6 * 4 = $<<6*4=24>>24 for the coffee.
Mell's friends ordered the same as Mell, so in total, they all paid 3 * 7 = $<<3*7=21>>21 for the cake.
For all the food they ordered, Mell and her friends paid a total of 24 + 6 + 21 = $<<24+6+21=51>>51.
#### 51