Task: Program Execution
Input (English): 2, 12, ['6309', '3131', '9773', '9743', '8895', 'a', '1543', '2153', '8747', '8453', 'J', 'n', 'V', 'f', '6163', '8177', '6211', 'K']
Output (English): nJ8453874721531543a8895974397733131