Task: Program Execution
Input (English): 9611, H, 1763, 231, 1157, X, x, 6487, m, 9611, u, o, 4041, U, x
Output (English): 9611, 1763, 231, 1157, 6487, 9611, 4041