Task: Program Execution
Input (English): 6, 8, ['e', 'j', 'E', '3947', '2751', 'E', 'M', '1127']
Output (English): 1127ME