Task: Program Execution
Input (English): O, 9, 5, G, z, M
Output (English): [['O', '9', '5', 'G', 'z'], ['O', '9', '5', 'G', 'M'], ['O', '9', '5', 'z', 'M'], ['O', '9', 'G', 'z', 'M'], ['O', '5', 'G', 'z', 'M'], ['9', '5', 'G', 'z', 'M']]