Task: Program Execution
Input (English): S, 3, N, i, 3, p, 0
Output (English): [['S', '3', 'N', 'i', '3', 'p'], ['S', '3', 'N', 'i', '3', '0'], ['S', '3', 'N', 'i', 'p', '0'], ['S', '3', 'N', '3', 'p', '0'], ['S', '3', 'i', '3', 'p', '0'], ['S', 'N', 'i', '3', 'p', '0'], ['3', 'N', 'i', '3', 'p', '0']]