Task: Program Execution
Input (English): j, 1, 7, Q
Output (English): [['j', '1', '7'], ['j', '1', 'Q'], ['j', '7', 'Q'], ['1', '7', 'Q']]