Task: Program Execution
Input (English): 351, z, 469, i, q
Output (English): 1, 3, 4, 5, 6, 9