Task: Program Execution
Input (English): 1, 3, ['5071', '5297', 'D', 'A']
Output (English): D79251705