Task: Program Execution
Input (English): 6535, R, O, 4897, E, a, f, q
Output (English): 2, 3, 5, 6, 7, 8