Task: Program Execution
Input (English): 6, 9, ['q', 'A', '8721', 'l', 'a', 'S', '3707', '413', 'R', 'i', '8687', 'F', 'h', '4585', '443', '2631', 'D']
Output (English): S3707413R