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