Task: Program Execution
Input (English): 2, 2, ['5575', '5051', 'E', '7289', 'w', 'j', '6271', 'E']
Output (English): 5051