Task: Program Execution
Input (English): 1, 3, ['g', 'g', 'K']
Output (English): 0