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