If total enthalpy of reactants and products is HR and HP respectively, then for exothermic reaction:
If total enthalpy of reactants & products is HR & HP respectively, then for exothermic reaction: