Task: Program Execution
Input (English): 2, 3, ['3661', '6155', 'h', 'o', '2493', 'g', 'K', 'n', 'J', 'F', 'k']
Output (English): h5516