Task: Program Execution
Input (English): o, 6, 9, 7, P, B
Output (English): [['o', '6', '9', '7', 'P'], ['o', '6', '9', '7', 'B'], ['o', '6', '9', 'P', 'B'], ['o', '6', '7', 'P', 'B'], ['o', '9', '7', 'P', 'B'], ['6', '9', '7', 'P', 'B']]