Task: Program Execution
Input (English): 1171, 7585, H, R, 367, 4509, 9555, 9691, 8173, 6007, 2391, 4867, t, l, 5127, W, 3795, p, 8375
Output (English): 1171, 7585, 8, 18, 367, 4509, 9555, 9691, 8173, 6007, 2391, 4867, 20, 12, 5127, 23, 3795, 16, 8375