Calculation exercise