Task: Program Execution
Input (English): 2, ['Y', '4397', '4995', 'g']
Output (English): Y, 4397