Task: Program Execution
Input (English): 2, 3, ['q', '1237', '4521', 'p', 'U', 'Y', '8775', '329']
Output (English): 12547321