Task: Program Execution
Input (English): 2, 5, ['L', 'O', 'q', '4299', 'q', 'X']
Output (English): 4299