Task: Program Execution
Input (English): K, M, Q, 6, 7
Output (English): [['K', 'M', 'Q', '6'], ['K', 'M', 'Q', '7'], ['K', 'M', '6', '7'], ['K', 'Q', '6', '7'], ['M', 'Q', '6', '7']]