Task: Program Execution
Input (English): m, d, 265, 461, u, 129, 429
Output (English): 1, 2, 4, 5, 6, 9