Task: Program Execution
Input (English): 4, 5, ['2139', '5187', 'j', 'J', '5801', 'E', '8865', 'A', 'N', '3153', '2959']
Output (English): 5801J