Task: Program Execution
Input (English): 3, 5, ['U', 'N', '2137', '4633', 'x', 'b', 'H', 'M', '2359', 't', '5867', '4179', '5007', '6193', '4075', '5721', 'K', '4993']
Output (English): 2137, M, 5007, 4993