International Youth Math Challenge 2024: Problem C: Determine the numerical value of the following