Task: Program Execution
Input (English): 1, 6, ['a', 'I', 'M', 'F', 'q', '8047', '3661']
Output (English): 8047qFMIa