Task: Program Execution
Input (English): 2, 3, ['V', 'P', '1419', 'x']
Output (English): 9141P