Task: Program Execution
Input (English): 2, 5, ['9451', 'O', '4727', 'C', 'G']
Output (English): 4727