Task: Program Execution
Input (English): 8, G, Q
Output (English): [['8', 'G'], ['8', 'Q'], ['G', 'Q']]