Task: Program Execution
Input (English): 5, 6, ['E', '3959', '1397', 'h', 'T', 'E', 'm', '8921', '1091', 'F', 'U', '673', '9797']
Output (English): ET