Task: Program Execution
Input (English): 2, 2, ['6009', 'b', 'g']
Output (English): b