Task: Program Execution
Input (English): 1, 1, ['9467', '3171', 'V', '3903']
Output (English): 9467