Task: Program Execution
Input (English): 3003, 8149, u, 6705, v, m, H, O, 1245, h, 6907, I, 365, 3179, C, z, h, 5175, r, p, y, 4579, 1227
Output (English): 1, 2, 4, 9, 11, 13, 14, 18, 22, 23