Task: Program Execution
Input (English): 1, 3, ['G', 'A', 'W']
Output (English): GAW