A simple math problem.

HDU - 4979