Task: Program Execution
Input (English): 4, 6, ['m', '5851', '9405', '1033', '4363', '9525', 'F']
Output (English): 1033, 4363, 9525