Task: Program Execution
Input (English): 2, 3, ['2601', 'q', '4731', '8967']
Output (English): q, 4731