Task: Program Execution
Input (English): e, E, 8279, 9353, 6847, Q, S, v, 3543, T, O, S, M, d, Q, 3583, C, M, 1735, 3641
Output (English): 1, 2, 6, 7, 8, 10, 11, 12, 13, 14, 15, 17, 18