Task: Program Execution
Input (English): i, 4679, R, X, e
Output (English): 1, 3, 4, 5