Task: Program Execution
Input (English): 4403, J, G, 2585, 1895, E, 2389, f, 6573
Output (English): 1, 4, 5, 7, 9