Task: Program Execution
Input (English): 2, 6, ['6001', '5073', '5549', 'p', '9479', 'M']
Output (English): M, 9479, p, 5549, 5073