Task: Program Execution
Input (English): w, 3, 6, 4, w
Output (English): [['w', '3', '6', '4'], ['w', '3', '6', 'w'], ['w', '3', '4', 'w'], ['w', '6', '4', 'w'], ['3', '6', '4', 'w']]