Task: Program Execution
Input (English): 4, 7, ['5583', 'd', '4627', '4273', 'H', 'J', 'Z', 'A']
Output (English): 4273