I have a value of energy for a meal in kJ. How do I convert this into grams please?

You have to know if it was carbohydrate, protein, or fat.