Task: Program Execution
Input (English): 3, 3, ['8847', 'E', '2445']
Output (English): 2445