Task: Program Execution
Input (English): 9387, 1369, 4901, 1105, T, 1237, 8005, 9677, B, o, T, 7317, K, 3989, w, c, 6475, X, r, w, 5171, D, n
Output (English): 9387, 1369, 4901, 1105, 20, 1237, 8005, 9677, 2, 15, 20, 7317, 11, 3989, 23, 3, 6475, 24, 18, 23, 5171, 4, 14