Task: Program Execution
Input (English): 2, 6, ['6163', 'a', 'H', 'M', '9209', 'Q']
Output (English): aHM9209Q