Task: Program Execution
Input (English): 2305, 7051, M, l, 8317, R, P, 1531, 8873, 8073, m, q, m, 6937, 1025, 8291, K, 445, 127, R, 9563, o, H, l
Output (English): 2305, 7051, 13, 12, 8317, 18, 16, 1531, 8873, 8073, 13, 17, 13, 6937, 1025, 8291, 11, 445, 127, 18, 9563, 15, 8, 12