Task: Program Execution
Input (English): W, g, 2933, 5053, 1397, K, 6309, 2137, 1293, m, l, h, r, 8605, W
Output (English): W, g, K, m, l, h, r, W, 2933, 5053, 1397, 6309, 2137, 1293, 8605