Task: Program Execution
Input (English): 2, 15, ['7749', 'Z', '4537', 'm', '3745', '1695', 'E', 'x', 'd', 'I', '5327', 'v', 'O', 'Z', 'd', 't', 'L', '351', '3507']
Output (English): d, Z, O, v, 5327, I, d, x, E, 1695, 3745, m, 4537, Z