Task: Program Execution
Input (English): 3, 6, ['R', 'M', 'W', '1999', '4211', '6453']
Output (English): W199942116453