Task: Program Execution
Input (English): 5, 12, ['n', '3017', 'u', '5649', 'e', 'J', '7065', '2695', 'n', 'z', '3999', 'e', 'b', '3375', '2637', '4825', 'm', 'p', 'h', 'H']
Output (English): 13759