Task: Program Execution
Input (English): 2, 8, ['5047', '4899', 'K', '6751', '2753', '3333', 'N', 'g', '1529', '401', 'h', 'A']
Output (English): gN333335721576K9984