Task: Program Execution
Input (English): 1, 4, ['547', 'D', '1097', '7787']
Output (English): 9431