Task: Program Execution
Input (English): 2, 3, ['3249', 'f', 'q']
Output (English): f, q