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