Task: Program Execution
Input (English): p, i, g, 6, J, 5
Output (English): [['p', 'i', 'g', '6', 'J'], ['p', 'i', 'g', '6', '5'], ['p', 'i', 'g', 'J', '5'], ['p', 'i', '6', 'J', '5'], ['p', 'g', '6', 'J', '5'], ['i', 'g', '6', 'J', '5']]