Task: Program Execution
Input (English): w, 6, 2, 7, N, g, G
Output (English): [['w', '6', '2', '7', 'N', 'g'], ['w', '6', '2', '7', 'N', 'G'], ['w', '6', '2', '7', 'g', 'G'], ['w', '6', '2', 'N', 'g', 'G'], ['w', '6', '7', 'N', 'g', 'G'], ['w', '2', '7', 'N', 'g', 'G'], ['6', '2', '7', 'N', 'g', 'G']]