Task: Program Execution
Input (English): 2, 7, ['F', 'V', 'a', '5951', 'T', 'a', 'w']
Output (English): waT5951aV