Task: Program Execution
Input (English): 2, 10, ['m', '251', 'B', '6449', 'T', '3349', 'S', 'H', '7203', '5121', 'M', '2463', 'x', '3817']
Output (English): 5121, 7203, H, S, 3349, T, 6449, B, 251