Task: Program Execution
Input (English): 1, 1, ['323', 'D', 'R', '7027', '147', 'C', '7813']
Output (English): 323