Task: Program Execution
Input (English): A, W, 6, g, P, 7
Output (English): [['A', 'W', '6', 'g', 'P'], ['A', 'W', '6', 'g', '7'], ['A', 'W', '6', 'P', '7'], ['A', 'W', 'g', 'P', '7'], ['A', '6', 'g', 'P', '7'], ['W', '6', 'g', 'P', '7']]