Task: Program Execution
Input (English): 3, 6, ['l', 'C', '6183', 'd', '6519', 'm']
Output (English): 12702