Task: Program Execution
Input (English): 1, 3, ['M', 'w', '4787', 'f', '9807', 'J', '9213', '1999', 'q', '6597']
Output (English): 4787wM