Task: Program Execution
Input (English): 2, 5, ['w', '387', '4895', '3617', '2913', '6921', 'A', 'o', '6093', '5079', '3539', 'a']
Output (English): 387, A, a