Task: Program Execution
Input (English): K, 8027, Q, u, k, i, 3425, t, a, a, 1863, 5933, t, M, T, K, 9667
Output (English): 1, 3, 4, 5, 6, 8, 9, 10, 13, 14, 15, 16