Task: Program Execution
Input (English): 3, 10, ['c', '8775', '8935', 'g', 'W', '4931', '8497', 'I', 'L', '8053', 'd', '6839']
Output (English): 8935, g, W, 4931, 8497, I, L, 8053