Task: Program Execution
Input (English): 9, 6, 2, X, P, 0, G
Output (English): [['9', '6', '2', 'X', 'P', '0'], ['9', '6', '2', 'X', 'P', 'G'], ['9', '6', '2', 'X', '0', 'G'], ['9', '6', '2', 'P', '0', 'G'], ['9', '6', 'X', 'P', '0', 'G'], ['9', '2', 'X', 'P', '0', 'G'], ['6', '2', 'X', 'P', '0', 'G']]