Task: Program Execution
Input (English): 3, 4, ['I', '9451', 'U', '9005', 'V', '6581', '4181', 'X', '5167']
Output (English): 5009U