Task: Program Execution
Input (English): 409, m, n, k, j, 25, 149, 441, 459
Output (English): 0, 1, 2, 4, 5, 9