Task: Program Execution
Input (English): 2, 13, ['1083', 'e', 'f', 'X', 'k', 'g', 'z', 'M', 'l', 'J', '1971', 'z', 'N']
Output (English): efXkgzMlJ1971zN