Task: Program Execution
Input (English): 7, ['M', '2177', '6897', '4867', '4357', '3657', '7067', '2257', '5715', '1717', '11', '8511', 'o', '1295', '7971', '8985', '8893', '2691']
Output (English): M, 2257, 7971