Task: Program Execution
Input (English): 3, 6, ['R', 'l', '2507', '4887', 'V', 'C', '7023', '77']
Output (English): CV48872507