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