Task: Program Execution
Input (English): 589, Z, 2433, V, 3959, 7723, 2387, E, I, N, O, 5807, J, 8133, 4773, 1319, 1003, 9573, H
Output (English): 1, 3, 5, 6, 7, 12, 14, 15, 16, 17, 18