Task: Program Execution
Input (English): 2, 5, ['5645', 'F', 'C', 'D', '4795', 'v', 'Q', '3931', 'R', 'C', '5969', '8041', '4391', '3745', '3027', 'w', '4689', 'K']
Output (English): 4795DCF