Task: Program Execution
Input (English): 2, 10, ['2741', '3191', '8915', '7643', 'z', '7831', 'c', '705', 'X', 'J', 'G', '4727', '6821', 'G', '7037', 'D']
Output (English): JX507c1387z346751981913