Task: Program Execution
Input (English): 4, 2, P, P
Output (English): [['4', '2', 'P'], ['4', '2', 'P'], ['4', 'P', 'P'], ['2', 'P', 'P']]