Task: Program Execution
Input (English): h, S, f, 7, 5, G, p
Output (English): [['h', 'S', 'f', '7', '5', 'G'], ['h', 'S', 'f', '7', '5', 'p'], ['h', 'S', 'f', '7', 'G', 'p'], ['h', 'S', 'f', '5', 'G', 'p'], ['h', 'S', '7', '5', 'G', 'p'], ['h', 'f', '7', '5', 'G', 'p'], ['S', 'f', '7', '5', 'G', 'p']]