Task: Program Execution
Input (English): 3, 4, ['D', '6769', 'g', 'f', 'E', '7635', '8459', 'N', '1145']
Output (English): f, g