Task: Program Execution
Input (English): r, 1315, 8341, b, 5873, p, Y, 9505, 3633, e, 8115, Q
Output (English): 1, 4, 6, 7, 10, 12