Task: Program Execution
Input (English): p, 2, 8, S
Output (English): [['p', '2', '8'], ['p', '2', 'S'], ['p', '8', 'S'], ['2', '8', 'S']]