Task: Program Execution
Input (English): 6, 9, ['w', 'C', '6029', '4123', '5107', '2883', 'J', 'R', 'L']
Output (English): LRJ2883