Task: Program Execution
Input (English): 249, 287, 211, m, 287, 469
Output (English): 1, 2, 4, 6, 7, 8, 9