Task: Program Execution
Input (English): 2, 2, ['9085', '5983', '3197', 'C']
Output (English): 3895