Task: Program Execution
Input (English): 2, 18, ['X', 'g', '1883', '6987', 'z', 'P', 'S', 'i', '1751', '447', '8539', '8453', '2705', 'z', '9103', 'n', '8357', 'K', 'f', 't']
Output (English): g18836987zPSi1751447853984532705z9103n8357K