Task: Program Execution
Input (English): H, 9729, D, 4423, O, K, t, 2477, w, t, 9009, X, 4035, z, 4107
Output (English): 8, 9729, 4, 4423, 15, 11, 20, 2477, 23, 20, 9009, 24, 4035, 26, 4107