Task: Program Execution
Input (English): 2, 5, ['n', '2941', 't', 'h', '1965', '7331']
Output (English): 5691ht1492