Task: Program Execution
Input (English): 2, 4, ['L', 'D', '9603', '4635']
Output (English): 14238