Added a comment explaining the calculation for the final answer.