Task: Program Execution
Input (English): P, 3341, j, A, 4173, T, 4883, 541, D, 8811, y, s, w, 1691, 6899, D, 8761, 6445, s, d, Q
Output (English): 16, 3341, 10, 1, 4173, 20, 4883, 541, 4, 8811, 25, 19, 23, 1691, 6899, 4, 8761, 6445, 19, 4, 17