Task: Program Execution
Input (English): 2489, V, 1023, C, f, 9173, d, Q, m, b, q, 4367, 5401, B, j, Q, A
Output (English): 1, 3, 6, 12, 13