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