Task: Program Execution
Input (English): p, i, K, Q
Output (English): [['p', 'i', 'K'], ['p', 'i', 'Q'], ['p', 'K', 'Q'], ['i', 'K', 'Q']]