Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: anne bought doughnuts for a class breakfast party . she bought 6 chocolate doughnuts , 8 coconut doughnuts , and 8 jam - filled doughnuts . how many doughnuts did anne buy in all ?
