Calculation of candidates' expenses