Task: Program Execution
Input (English): 1, 1, ['4397', '8487', 'L', 'v']
Output (English): 4397