5. Calculation of the budget