Task: Program Execution
Input (English): 2, 5, ['3517', '8587', '3271', '7549', 'H', 'U', '1027', '2131', '7281', 'u', 'o', '297', '2649']
Output (English): 8587, 1027, 297