Task: Program Execution
Input (English): 2, ['J', 'M', '2443', 'j']
Output (English): J, M