Task: Program Execution
Input (English): 1, 6, ['a', 'D', 'U', 'B', 'z', 'B']
Output (English): BzBUDa