Task: Program Execution
Input (English): 2, 2, ['X', '1413', 's', 'd', 'x', '7831', 'Q', '7079', 'i', 'h', 'e']
Output (English): 1413, d, 7831, 7079, h