Task: Program Execution
Input (English): 4, 6, ['5681', '101', '2365', 'D', '5775', 'g', 'I']
Output (English): g5775D