Task: Program Execution
Input (English): 7, 12, ['q', 'T', '347', 'U', 'S', '6003', 'Z', 'x', '7051', '3309', 'Y', '3751', 'P', '5475', '2857']
Output (English): 1573Y90331507xZ