Task: Program Execution
Input (English): 3, 10, ['Q', 'X', 'W', 'D', '6961', 'm', '5729', 'J', '2613', '1763', '4445', 'I', 'X', 'J', '441', 'Z', '87', '5271']
Output (English): 17632613J5729m6961DW