Task: Program Execution
Input (English): 1147, 3809, 9935, m, 4183, 2795, W, m, I, z
Output (English): 4, 7, 8, 9, 10