Task: Program Execution
Input (English): 1, 1, ['4305', '5205', '861', 'B', '511']
Output (English): 4305