Jack ate 3 chocolate squares after school. Each chocolate square had a mass of 8 grams.
How many grams of chocolate did Jack eat in all?