Task: Program Execution
Input (English): E, 9987, 727, C, 8591, 3793, J, t, P, 3151, o, 1111, 403, 7333, x, 7613, 9801, 4463, E, 2231, Q, K, 881, 3787
Output (English): 1, 4, 7, 8, 9, 11, 15, 19, 21, 22