Task: Program Execution
Input (English): 1, 3, ['9047', '7221', '2795', '1823', 'M', '8437']
Output (English): 2795, 7221, 9047