Task: Program Execution
Input (English): 2581, C, Q, F, 6115, Q, k, l, 5061, 3049, m, C, T, W, m, 883, 597, b, 465, p, 8673, k, I
Output (English): 2581, 3, 17, 6, 6115, 17, 11, 12, 5061, 3049, 13, 3, 20, 23, 13, 883, 597, 2, 465, 16, 8673, 11, 9