Task: Program Execution
Input (English): 9, K, n, S
Output (English): [['9', 'K', 'n'], ['9', 'K', 'S'], ['9', 'n', 'S'], ['K', 'n', 'S']]