There are 4 calories in a gram of carbohydrates, 4 calories in a gram of protein, and 9 calories in a gram of fat. What is an equation that relates the number of calories, n, with the number of grams of carbohydrates, c, the number of grams of protein, p, and the number of grams of fat, f?