Task: Program Execution
Input (English): 5, 5, ['8761', 'g', 'm', 'x', '4711', 'p']
Output (English): 4711