Task: Program Execution
Input (English): 2, 9, ['3971', '7995', 'h', 'd', 'G', 'T', '6695', 'c', 'x', 'Y', '1291', '6475', '8087', 'G', 'j', '7079', '2409', '7729', '3895', '3097']
Output (English): 7995hdGT6695cx