Task: Program Execution
Input (English): c, d, J
Output (English): [['c', 'd'], ['c', 'J'], ['d', 'J']]