Task: Program Execution
Input (English): 8, 12, ['7335', '3763', '1365', '2571', '4231', '6653', '7691', 'a', '2799', 'F', '781', 'g', '1151', 'h', '6183', 'S', '1219', '3459', '3439']
Output (English): g781F2799a