Task: Program Execution
Input (English): 6, O, P, 6
Output (English): [['6', 'O', 'P'], ['6', 'O', '6'], ['6', 'P', '6'], ['O', 'P', '6']]