Task: Program Execution
Input (English): 1, 4, ['q', 'V', '3695', 'I']
Output (English): 3695