Task: Program Execution
Input (English): 3, 6, ['u', 'C', '5645', '2977', '3497', 'h', 'm', 'm', 'P']
Output (English): 12119