Task: Program Execution
Input (English): 5, 8, ['6461', '965', 'W', 'v', '4487', '7637', '9825', '8581', '5953', '205', '4647', '6255', '4567', 'B', 'n', 'w', '5919', '4889', '5313', '8371', '3101', '8157', '1413', '5477', 'W', '7679']
Output (English): 4487, 4567, 3101