Task: Program Execution
Input (English): 4471, Q, H, 1381, Z, 3813, Q
Output (English): 4471, 17, 8, 1381, 26, 3813, 17