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