Task: Program Execution
Input (English): 2, 12, ['j', 'q', '1629', 'h', '7631', 'n', '1709', 'M', '5757', '9199', 'K', '4595', 'G', '8035', '8351', '8431', 'D']
Output (English): q1629h7631n1709M57579199K4595