Task: Program Execution
Input (English): 3, 6, ['2707', '5421', 'h', 'm', '4319', 'e']
Output (English): e, 4319, m, h