Task: Program Execution
Input (English): 2, 4, ['o', 'O', '7497', 'f']
Output (English): 7497