Task: Program Execution
Input (English): 1, 4, ['i', 'D', 'g', 'O']
Output (English): O, g, D, i