Task: Program Execution
Input (English): 1, ['q', 'P', 'g']
Output (English): q, P