Task: Program Execution
Input (English): 2, 1, ['247', 'X', 'c', 'S', 'z', 'x', 'K', 'h', '4723', 'v']
Output (English): X, c, S, z, x, K, h, 4723, v