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