Task: Program Execution
Input (English): 2, 2, ['2251', '3079', '8299', '6563', 'D']
Output (English): 3079