Task: Program Execution
Input (English): 2, ['M', 'H', '497', '2897']
Output (English): 497, 2897