Task: Program Execution
Input (English): H, 5947, E, 4151, M, 5361, k, 631, c, c, 1827, 509, 5711, 2465, f, f, d, 6985, g
Output (English): H, E, M, k, c, c, f, f, d, g, 5947, 4151, 5361, 631, 1827, 509, 5711, 2465, 6985