Task: Program Execution
Input (English): 1, 4, ['g', '9491', 'D', 'Q', 'B', 'A', 'q', 'b']
Output (English): g9491DQ